@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Główny kontener centrujący */
.seller-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

/* Karta formularza */
.seller-form-card {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    border-top: 5px solid #ed4f00; /* Pomarańczowy akcent na górze */
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}
.form-header .fa-user-plus {
    font-size: 2.5rem;
    color: #ed4f00;
    margin-bottom: 1rem;
}
.form-header h2 {
    font-weight: 700;
    font-size: 1.75rem;
    color: #141f33;
    margin: 0;
}
.form-header p {
    color: #64748b;
    margin-top: 0.5rem;
}

/* Grupa (label + input) */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.form-group .form-control {
    width: 100%;
    height: 56px;
    padding: 14px 16px 0 16px; /* Robimy miejsce na etykietę */
    font-size: 1rem;
    font-weight: 500;
    color: #141f33;
    background-color: #f0f2f5;
    border: 2px solid #f0f2f5;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1rem;
    color: #6c757d;
    pointer-events: none;
    transition: all 0.2s ease;
    transform-origin: left top;
}
.form-group .form-control:focus + label,
.form-group .form-control:not(:placeholder-shown) + label {
    transform: translateY(-10px) scale(0.75);
    color: #141f33;
    font-weight: 600;
}
.form-group .form-control:focus {
    outline: none;
    border-color: #ed4f00;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(237, 79, 0, 0.1);
}
.form-group .form-control.is-invalid {
    border-color: #dc3545 !important;
}

/* Przycisk wysyłki */
.form-footer {
    margin-top: 2rem;
}
.btn-submit {
    width: 100%;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    color: #ffffff;
    background-color: #ed4f00;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-submit:hover {
    background-color: #d14600;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(237, 79, 0, 0.3);
}
.btn-submit:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}


.seller-form-card .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.seller-form-card .form-control {
    width: 100%;
    height: 56px;
    padding: 20px 16px 6px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #141f33;
    background-color: #f0f2f5;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Styl dla etykiety w stanie spoczynku (wygląda jak placeholder) */
.seller-form-card .form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1rem;
    color: #6c757d;
    pointer-events: none; /* Pozwala klikać "przez" etykietę w pole input */
    transition: all 0.2s ease;
    transform-origin: left top;
}

/* === KLUCZOWA CZĘŚĆ: Animacja etykiety === */
/* Styl jest aktywowany, gdy input jest w focusie LUB gdy ma jakąś treść */
.seller-form-card .form-control:focus + label,
.seller-form-card .form-control:not(:placeholder-shown) + label {
    transform: translateY(-10px) scale(0.75);
    color: #141f33;
    font-weight: 600;
}

/* Styl dla aktywnego pola input */
.seller-form-card .form-control:focus {
    outline: none;
    border-color: #ed4f00;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(237, 79, 0, 0.1);
}

.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 31, 51, 0.7);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}
.feedback-modal-overlay.is-visible {
    display: flex;
    opacity: 1;
}

@keyframes modal-fade-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.feedback-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 420px;
    padding: 2.5rem 2rem;
    text-align: center;
    animation: modal-fade-in 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.feedback-modal-content .modal-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feedback-modal-content .modal-icon-wrapper i {
    font-size: 2rem;
    color: #ffffff;
}

.feedback-modal-content .modal-main-title {
    font-family: 'Barlow', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feedback-modal-content .modal-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feedback-modal-content .btn-primary-custom {
    width: 100%;
    padding: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Warianty kolorystyczne */
.feedback-modal-content.success .modal-icon-wrapper { background-color: #198754; }
.feedback-modal-content.success .modal-main-title { color: #198754; }
.feedback-modal-content.success .btn-primary-custom { background-color: #198754; border: none; color: #fff; }

.feedback-modal-content.error .modal-icon-wrapper { background-color: #dc3545; }
.feedback-modal-content.error .modal-main-title { color: #dc3545; }
.feedback-modal-content.error .btn-primary-custom { background-color: #dc3545; border: none; color: #fff; }