/* ========================================
   UCET CHOVATELE - PROFIL STANICE
   Editace profilu chovatelske stanice
   ======================================== */

/* ========================================
   STAV SEKCI - MODERNI MINIMALISTICKY STYL
   ======================================== */

/* Pulzující animace pro nedokončené sekce */
@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Aktuální sekce - zvýraznění */
.profile-form__section--current {
    border-left: 3px solid #f97316;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Nedokončená sekce - červený pulzující indikátor */
.profile-form__section--incomplete {
    border-left: 3px solid #ef4444;
}

.profile-form__section--incomplete .profile-form__section-title::after {
    content: '';
    margin-left: auto;
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Dokončená sekce */
.profile-form__section--complete {
    border-left: 3px solid #86efac;
}

.profile-form__section--complete .profile-form__section-title::after {
    content: '';
    margin-left: auto;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.dashboard__page-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.dashboard__page-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard__page-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dashboard__page-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dashboard__page-action:hover {
    color: #f97316;
}

/* ========================================
   PAGE PROGRESS - LOKALNI BAROMETR
   ======================================== */

.page-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.page-progress__bar {
    flex: 1;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.page-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.page-progress__text {
    font-size: 13px;
    font-weight: 600;
    color: #ea580c;
    white-space: nowrap;
}

.page-progress__warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 13px;
    color: #92400e;
}

.page-progress__warning svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 1px;
}

.page-progress__warning strong {
    color: #78350f;
}

/* ========================================
   PROFILE FORM
   ======================================== */

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-form__section {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.profile-form__section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.profile-form__section-title svg {
    width: 20px;
    height: 20px;
    color: #f97316;
    flex-shrink: 0;
}

.profile-form__section-desc {
    font-size: 13px;
    color: #6b7280;
    margin: -8px 0 16px 0;
}

/* ========================================
   FORM GRID
   ======================================== */

.profile-form__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ========================================
   FORM FIELDS
   ======================================== */

.profile-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-form__label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.profile-form__input,
.profile-form__select,
.profile-form__textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: #111827;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-form__input:focus,
.profile-form__select:focus,
.profile-form__textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background-color: #ffffff;
}

.profile-form__textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.profile-form__hint {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

.profile-form__hint--checkbox {
    margin-top: 12px;
    font-weight: 600;
    color: #6b7280;
}

/* ========================================
   FCI SECTION - COMPACT LAYOUT
   ======================================== */

.profile-form__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    margin-left: auto;
}

.profile-form__badge--success {
    background-color: #ecfdf5;
    color: #059669;
}

.profile-form__badge--pending {
    background-color: #fffbeb;
    color: #d97706;
}

/* FCI Grid - moderní layout */
.profile-form__fci-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.profile-form__fci-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    min-width: 0;
}

.profile-form__fci-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
}

/* Upload tlačítko - dominantní */
.profile-form__fci-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.profile-form__fci-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.profile-form__fci-upload-btn svg {
    width: 20px;
    height: 20px;
}

/* Stav nahráno */
.profile-form__fci-card-uploaded {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background-color: #ecfdf5;
    border-radius: 10px;
    color: #059669;
    font-weight: 600;
}

.profile-form__fci-card-uploaded svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.profile-form__fci-change-btn {
    margin-left: auto;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    background-color: #ffffff;
    border: 1px solid #059669;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-form__fci-change-btn:hover {
    background-color: #059669;
    color: #ffffff;
}

/* Datum - 3 selecty (den, měsíc, rok) */
.profile-form__date-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-form__date-select {
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 12px;
    padding-right: 22px;
    min-width: 0;
}

.profile-form__date-select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.profile-form__date-select--day {
    flex: 1 1 30%;
}

.profile-form__date-select--month {
    flex: 1 1 35%;
}

.profile-form__date-select--year {
    flex: 1 1 30%;
}

/* Placeholder styl pro nevybranou hodnotu */
.profile-form__date-select option[value=""] {
    color: #9ca3af;
}

/* Legacy - pro zpětnou kompatibilitu */
.profile-form__fci-date-wrapper {
    position: relative;
}

.profile-form__fci-date {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-form__fci-date:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Mobilní vylepšení */
@media (max-width: 767px) {
    .profile-form__fci-date {
        padding: 16px;
        font-size: 17px;
        min-height: 56px;
    }
}

/* Zkušenosti - moderní zobrazení */
.profile-form__fci-experience {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.profile-form__fci-experience-number {
    font-size: 32px;
    font-weight: 800;
    color: #f97316;
    line-height: 1;
}

.profile-form__fci-experience-text {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* ========================================
   VERIFICATION STATUS (legacy - can remove later)
   ======================================== */

.profile-form__status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.profile-form__status svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.profile-form__status-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-form__status-title {
    font-size: 14px;
    font-weight: 600;
}

.profile-form__status-text {
    font-size: 13px;
}

.profile-form__status--verified {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.profile-form__status--verified svg {
    color: #10b981;
}

.profile-form__status--verified .profile-form__status-title {
    color: #065f46;
}

.profile-form__status--verified .profile-form__status-text {
    color: #047857;
}

.profile-form__status--pending {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
}

.profile-form__status--pending svg {
    color: #f59e0b;
}

.profile-form__status--pending .profile-form__status-title {
    color: #92400e;
}

.profile-form__status--pending .profile-form__status-text {
    color: #b45309;
}

.profile-form__status--required {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.profile-form__status--required svg {
    color: #ef4444;
}

.profile-form__status--required .profile-form__status-title {
    color: #991b1b;
}

.profile-form__status--required .profile-form__status-text {
    color: #b91c1c;
}

/* ========================================
   FILE UPLOAD (FCI Certificate)
   ======================================== */

.profile-form__file-upload {
    margin-bottom: 16px;
}

.profile-form__file-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 20px;
    background-color: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.profile-form__file-dropzone:hover {
    border-color: #f97316;
    background-color: #fff7ed;
}

.profile-form__file-dropzone--active {
    border-color: #f97316;
    background-color: #fff7ed;
}

.profile-form__file-dropzone svg {
    width: 36px;
    height: 36px;
    color: #9ca3af;
}

.profile-form__file-dropzone:hover svg {
    color: #f97316;
}

.profile-form__file-text {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

.profile-form__file-formats {
    font-size: 12px;
    color: #9ca3af;
}

.profile-form__file-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
}

.profile-form__file-current svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.profile-form__file-name {
    flex: 1;
    font-size: 14px;
    color: #166534;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-form__file-change {
    font-size: 13px;
    font-weight: 600;
    color: #f97316;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.profile-form__file-change:hover {
    background-color: #fff7ed;
}

/* ========================================
   READONLY FIELD WITH EDIT
   ======================================== */

.profile-form__readonly {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.profile-form__readonly-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.profile-form__readonly-edit {
    font-size: 11px;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    opacity: 0.6;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.profile-form__readonly-edit:hover {
    opacity: 1;
    color: #6b7280;
}

.profile-form__editable {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-form__input--small {
    max-width: 120px;
}

/* ========================================
   IMAGE UPLOAD
   ======================================== */

.profile-form__image-upload {
    cursor: pointer;
}

.profile-form__image-preview {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 2 / 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.profile-form__image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-form__image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-form__image-preview:hover .profile-form__image-overlay {
    opacity: 1;
}

.profile-form__image-overlay svg {
    width: 32px;
    height: 32px;
}

.profile-form__image-overlay span {
    font-size: 14px;
    font-weight: 600;
}

.profile-form__image-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
}

/* Prázdný stav - placeholder pro fotku */
.profile-form__image-preview--empty {
    border: 2px dashed #d1d5db;
    background-color: #f9fafb;
}

.profile-form__image-preview--empty:hover {
    border-color: #f97316;
    background-color: #fff7ed;
}

.profile-form__image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.profile-form__image-placeholder svg {
    width: 48px;
    height: 48px;
    color: #9ca3af;
}

.profile-form__image-preview--empty:hover .profile-form__image-placeholder svg {
    color: #f97316;
}

.profile-form__image-placeholder-title {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.profile-form__image-placeholder-text {
    font-size: 13px;
    color: #9ca3af;
}

/* ========================================
   CHECKBOXES GRID
   ======================================== */

.profile-form__checkboxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.profile-form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #f9fafb;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.profile-form__checkbox:hover {
    background-color: #f3f4f6;
}

.profile-form__checkbox--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.profile-form__checkbox input {
    display: none;
}

.profile-form__checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.profile-form__checkbox input:checked + .profile-form__checkbox-mark {
    background-color: #f97316;
    border-color: #f97316;
}

.profile-form__checkbox input:checked + .profile-form__checkbox-mark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.profile-form__checkbox-label {
    font-size: 13px;
    color: #374151;
}

/* ========================================
   TOGGLE SWITCH
   ======================================== */

.profile-form__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.profile-form__toggle input {
    display: none;
}

.profile-form__toggle-slider {
    width: 48px;
    height: 26px;
    background-color: #d1d5db;
    border-radius: 13px;
    position: relative;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.profile-form__toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-form__toggle input:checked + .profile-form__toggle-slider {
    background-color: #10b981;
}

.profile-form__toggle input:checked + .profile-form__toggle-slider::after {
    transform: translateX(22px);
}

.profile-form__toggle-label {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* ========================================
   FORM ACTIONS
   ======================================== */

.profile-form__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.profile-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #f97316;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.profile-form__submit:hover {
    background-color: #ea580c;
}

.profile-form__submit:active {
    transform: scale(0.98);
}

.profile-form__submit svg {
    width: 18px;
    height: 18px;
}

.profile-form__cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    background-color: #f3f4f6;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.profile-form__cancel:hover {
    background-color: #e5e7eb;
}

/* ========================================
   TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .dashboard__page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard__page-header-left {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .dashboard__page-title {
        font-size: 24px;
    }

    .page-progress {
        min-width: 200px;
    }

    .page-progress__warning {
        margin-bottom: 24px;
    }

    .profile-form__section {
        padding: 24px;
    }

    .profile-form__section-title {
        font-size: 17px;
    }

    .profile-form__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .profile-form__fci-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }

    .profile-form__fci-card {
        padding: 20px;
    }

    .profile-form__checkboxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-form__actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .profile-form__submit,
    .profile-form__cancel {
        width: auto;
    }
}

/* ========================================
   DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .profile-form {
        gap: 28px;
    }

    .profile-form__section {
        padding: 28px;
        border-radius: 20px;
    }

    .profile-form__section-title {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }


    .profile-form__checkboxes {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .profile-form__checkbox {
        padding: 14px;
    }

    .profile-form__submit {
        padding: 16px 32px;
        font-size: 16px;
    }

    .profile-form__cancel {
        padding: 16px 32px;
        font-size: 16px;
    }
}

/* ========================================
   VELKY DESKTOP (1400px+)
   ======================================== */

@media (min-width: 1400px) {
    .profile-form__checkboxes {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   IMAGE CROP MODAL
   ======================================== */

.image-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.image-crop-modal--open {
    display: flex;
}

.image-crop-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.image-crop-modal__container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.image-crop-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.image-crop-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.image-crop-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.image-crop-modal__close:hover {
    background-color: #f3f4f6;
}

.image-crop-modal__close svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.image-crop-modal__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.image-crop-modal__preview {
    flex: 1;
    min-height: 300px;
    max-height: 400px;
    background-color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-crop-modal__preview img {
    display: block;
    max-width: 100%;
}

.image-crop-modal__controls {
    padding: 16px 20px;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.image-crop-modal__zoom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.image-crop-modal__zoom-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-crop-modal__zoom-btn:hover {
    border-color: #f97316;
    background-color: #fff7ed;
}

.image-crop-modal__zoom-btn svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.image-crop-modal__zoom-btn:hover svg {
    color: #f97316;
}

.image-crop-modal__zoom-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
}

.image-crop-modal__zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #f97316;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
    transition: transform 0.2s ease;
}

.image-crop-modal__zoom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.image-crop-modal__zoom-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #f97316;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
}

.image-crop-modal__hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

.image-crop-modal__footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
}

.image-crop-modal__btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-crop-modal__btn--cancel {
    color: #6b7280;
    background-color: #f3f4f6;
}

.image-crop-modal__btn--cancel:hover {
    background-color: #e5e7eb;
}

.image-crop-modal__btn--confirm {
    color: #ffffff;
    background-color: #f97316;
}

.image-crop-modal__btn--confirm:hover {
    background-color: #ea580c;
}

/* Cropper.js custom styling */
.cropper-view-box,
.cropper-face {
    border-radius: 0;
}

.cropper-view-box {
    outline: 3px solid #f97316;
    outline-offset: -3px;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.4);
}

.cropper-line {
    background-color: #f97316;
}

.cropper-point {
    background-color: #f97316;
    width: 12px;
    height: 12px;
}

.cropper-modal {
    background-color: rgba(0, 0, 0, 0.75);
}

.cropper-dashed {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (min-width: 768px) {
    .image-crop-modal__container {
        max-width: 700px;
    }

    .image-crop-modal__preview {
        min-height: 350px;
        max-height: 450px;
    }

    .image-crop-modal__footer {
        justify-content: flex-end;
    }

    .image-crop-modal__btn {
        flex: none;
        min-width: 140px;
    }
}
