.horse-form {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.horse-form h1 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.form-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section.basic-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-section.pedigree {
    margin-top: 1rem;
}

.form-section.pedigree h2 {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input[type="date"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.form-group input[type="date"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* Entferne alle speziellen Datepicker-Styles */
.date-picker-container,
.date-picker-container::after,
.date-picker-container input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

/* Verstecke alle LastPass Elemente */
[data-lastpass-icon-root] {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    float: none !important;
}

.pedigree-section {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pedigree-container {
    display: flex;
    gap: 15px;
}

.pedigree-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pedigree-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.pedigree-item label {
    display: block;
    margin-bottom: 0.25rem;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

.pedigree-item--main label {
    font-weight: 700;
    font-size: 1rem;
}

.pedigree-item input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.pedigree-item--female {
    background: #fff5f5;
}

.image-upload {
    border: 2.5px dashed #007bff;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f5e9 100%);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.image-upload.drag-over {
    border-color: #28a745;
    background: #e8f5e9;
}

.image-upload .upload-icon {
    font-size: 64px;
    color: #007bff;
    margin-bottom: 1rem;
    animation: bounce 1.2s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0);}
    100% { transform: translateY(-10px);}
}

.image-upload .upload-text {
    color: #007bff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.image-upload .upload-hint {
    color: #adb5bd;
    font-size: 0.95rem;
}

.image-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

@media (max-width: 768px) {
    .form-section.basic-info {
        grid-template-columns: 1fr;
    }
    
    .pedigree-tree {
        flex-direction: column;
    }
}

/* Preis-Sektion Styles */
.price-section > label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    display: block;
}

.price-type-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.price-option {
    display: flex;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    margin: 0;
    width: auto;
}

.price-input-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.price-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
}

.price-input-group input {
    flex: 1;
    margin-bottom: 0;
}

.price-on-request-display {
    padding: 10px 15px;
    background: #e8f4fd;
    border: 1px solid #b3d9f2;
    border-radius: 6px;
    text-align: center;
    max-width: 200px;
}

.price-on-request-text {
    font-weight: 600;
    color: #0073aa;
    font-size: 14px;
}

.price-currency {
    font-weight: 600;
    color: #495057;
    font-size: 16px;
}

.price-section select {
    max-width: 250px;
    margin-bottom: 0;
}

/* Responsive für Preisfelder */
@media (max-width: 768px) {
    .price-type-selection {
        flex-direction: column;
        gap: 10px;
    }
    
    .price-input-group {
        max-width: 100%;
    }
    
    .price-section select {
        max-width: 100%;
    }
} 