/* ==========================================================================
   SELL PROPERTY PAGE STYLES (sell.css)
   ========================================================================== */

/* --- 1. HERO SECTION --- */
.sell-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin: 5px 20px 15px 20px;
    border: 1px solid gainsboro;
    border-radius: 8px;
    background-color: azure;
}

.sell-hero h1 {
    color: #008080;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.sell-hero p {
    max-width: 800px;
    color: darkslategray;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- 2. BENEFITS SECTION (Czyste karty z kolorami) --- */
.sell-benefits-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    margin: 24px 20px;
}

.sell-benefit-card {
    flex: 1;
    position: relative;
    background-color: azure; /* Przywrócone miękkie tło azure */
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 128, 128, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Usunięcie wszelkich pozostałości znaków wodnych i strzałek */
.sell-benefit-card::before,
.sell-benefit-card::after {
    content: none !important;
    display: none !important;
}

/* Efekt Hover na kartach */
.sell-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.12);
}

/* Stylizacja nagłówków h2 (np. ⚡ Speed & Certainty) */
.sell-benefit-card h2 {
    font-size: 1.35rem;
    color: #008080; /* Podstawowy turkusowy kolor Revenest */
    margin-bottom: 8px;
    font-weight: 700;
}

.sell-benefit-card p.med-size,
.sell-benefit-card p strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: #00002b; /* Ciemnogranatowy podtytuł */
    margin-bottom: 8px;
    display: block;
}

.sell-benefit-card p.small-size {
    font-size: 0.75rem;
    color: darkslategray;
    line-height: 1.5;
}

/* --- 3. FORM SECTION --- */
.sell-form-container {
    background-color: azure;
    border: 1px solid gainsboro;
    border-radius: 8px;
    padding: 32px 20px;
    margin: 20px;
}

.sell-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.sell-form-wrapper h2 {
    color: #008080;
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.sell-form-wrapper .subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: darkslategray;
    margin-bottom: 24px;
}

.sell-form .form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.sell-form label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #00002b;
    margin-bottom: 6px;
}

.sell-form input[type="text"],
.sell-form input[type="email"],
.sell-form input[type="tel"],
.sell-form input[type="number"],
.sell-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid gainsboro;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sell-form input:focus,
.sell-form textarea:focus {
    outline: none;
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12);
}

.sell-form .form-row {
    display: flex;
    gap: 16px;
}

.sell-form .form-row .form-group {
    flex: 1;
}

.sell-form .btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    color: snow;
    background-color: #008080;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.sell-form .btn-submit:hover {
    background-color: #006666;
}

/* --- TOAST / ZNIKAJĄCE POWIADOMIENIA --- */
.toast-notification {
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
    padding: 12px 20px;
    margin-top: 15px;
    border-radius: 6px;
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Zielony napis sukcesu */
.toast-success {
    color: #065f46;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

/* Czerwony napis błędu */
.toast-error {
    color: #991b1b;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

/* Klasa ukrywająca (nakładana przez JS) */
.toast-hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* --- RESPONSIVENESS (MOBILES) --- */
@media screen and (max-width: 768px) {
    .sell-benefits-container {
        flex-direction: column;
        gap: 20px;
    }

    .sell-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}