﻿/* ============================================================
   BEYAN VERMEK FORMU - ALL FORMS DESIGN
   ============================================================ */

.all-forms-beyan-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px); 
}

.all-forms-step-section:not([data-step="3"]) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.all-forms-step-section[data-step="3"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
    align-self: flex-start;
}

.all-forms-beyan-container {
    width: 80%;
    max-width: 900px;
    padding: 20px; 
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(140%) blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 86, 179, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.02);
    animation: fadeIn 0.5s ease-in-out;
}

/* ------------------------------------------------------------
   STEP Head
   ------------------------------------------------------------ */
.all-forms-step-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0a2b5f; 
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    letter-spacing: 0.3px;
}

    .all-forms-step-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #007bff, #0056d8);
        border-radius: 4px;
    }

/* HEADER */
/* ------------------------------------------------------------
   Beyan Banner 
   ------------------------------------------------------------ */

.all-forms-beyan-header {
    text-align: center;
}

.all-forms-beyan-banner {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff; 
    display: flex;
    width: 100%;
    height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin: 0 auto 15px auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.all-forms-beyan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 5px 0 6px;
}

.all-forms-beyan-subtitle {
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
}


/* STEP BAR */
.all-forms-beyan-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.all-forms-step {
    flex: 1;
    text-align: center;
    color: #777;
    font-weight: 500;
    transition: 0.3s;
}

    .all-forms-step span {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        background: #e6e6e6;
        border-radius: 50%;
        color: #444;
        font-weight: 600;
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .all-forms-step.active span {
        background: linear-gradient(135deg, #0d6efd, #0056d8);
        color: #fff;
        box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.15);
    }

    .all-forms-step.completed span {
        background: #28a745;
        color: #fff;
    }

    .all-forms-step.active p {
        color: #0d6efd;
        font-weight: 600;
    }

/* STEP CONTENT */
.all-forms-step-section {
    display: none;
    animation: fadeUp 0.4s ease forwards;
}

    .all-forms-step-section.active {
        display: block;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------------------------------------
   STEP 1 ve 2 — KATEGORİ / DURUM GRİDLERİ
   ------------------------------------------------------------ */
.all-forms-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 35px;
}

.all-forms-status-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 35px;
}

    /* Box */
.all-forms-category-grid label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 15px;
    border-radius: 14px;
    background: #f9fafc;
    border: 2px solid #e2e6ec;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.all-forms-status-grid label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 35px; 
    border-radius: 14px;
    background: #f9fafc;
    border: 2px solid #e2e6ec;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

        /* Radyo butonu gizle */
        .all-forms-category-grid label input,
        .all-forms-status-grid label input {
            display: none !important;
        }

        /* Icon + Text */
        .all-forms-category-grid label i,
        .all-forms-status-grid label i {
            font-size: 2.2rem;
            color: #0d6efd;
            margin-bottom: 10px;
            transition: 0.3s;
        }

        .all-forms-category-grid label span,
        .all-forms-status-grid label span {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
            transition: 0.3s;
        }

        /* Hover efekti */
        .all-forms-category-grid label:hover,
        .all-forms-status-grid label:hover {
            transform: translateY(-4px);
            border-color: #0d6efd;
            box-shadow: 0 8px 18px rgba(13, 110, 253, 0.12);
        }

            .all-forms-category-grid label:hover i {
                transform: scale(1.1);
            }

        /* Seçili kutu efekti */
        .all-forms-category-grid label.selected,
        .all-forms-status-grid label.selected {
            background: linear-gradient(145deg, #0d6efd, #0056d8);
            border-color: transparent;
            color: #fff;
            box-shadow: 0 10px 22px rgba(13, 110, 253, 0.25);
        }

            .all-forms-category-grid label.selected i,
            .all-forms-category-grid label.selected span,
            .all-forms-status-grid label.selected i,
            .all-forms-status-grid label.selected span {
                color: #fff !important;
                transform: translateY(-2px);
            }

/* ------------------------------------------------------------
   STEP 3 — MÜLK BİLGİLERİ FORM GRID
   ------------------------------------------------------------ */

.all-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 14px; 
    margin-bottom: 20px; 
}

    .all-forms-grid label {
        font-weight: 600;
        color: #333;
        margin-bottom: 4px; 
        font-size: 0.92rem; 
        display: block;
    }

    .all-forms-grid input,
    .all-forms-grid select {
        width: 100%;
        height: 40px; 
        padding: 6px 10px; 
        border: 1px solid #ccc;
        border-radius: 8px; 
        font-size: 0.9rem;
        transition: all 0.2s ease;
        background: #fff;
    }

        .all-forms-grid input:focus,
        .all-forms-grid select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
            outline: none;
        }

/* ------------------------------------------------------------
   STEP 4 — MÜLK SAHİBİ BİLGİLERİ
   ------------------------------------------------------------ */
.all-forms-owner-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

    .all-forms-owner-info input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 0.95rem;
        transition: all 0.25s;
        background: #fff;
    }

        .all-forms-owner-info input:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
        }

/* ------------------------------------------------------------
   BUTONLAR
   ------------------------------------------------------------ */
.all-forms-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-blue,
.btn-gray {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-blue {
    background: linear-gradient(135deg, #0d6efd, #0056d8);
    color: #fff;
}

    .btn-blue:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(13, 110, 253, 0.25);
    }

.btn-gray {
    background: #6c757d;
    color: #fff;
}

    .btn-gray:hover {
        background: #5c636a;
        transform: translateY(-2px);
    }

/* ------------------------------------------------------------
   STEP 5 — BAŞARILI FORM
   ------------------------------------------------------------ */
.all-forms-success-step {
    text-align: center;
    padding: 70px 25px;
}

    .all-forms-success-step i {
        font-size: 3.5rem;
        color: #28a745;
        margin-bottom: 22px;
    }

    .all-forms-success-step h3 {
        color: #222;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .all-forms-success-step p {
        color: #555;
        margin-bottom: 25px;
    }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    .all-forms-beyan-container {
        padding: 40px 35px;
    }

    .all-forms-category-grid,
    .all-forms-status-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .all-forms-beyan-banner {
        height: 140px;
    }

    .all-forms-beyan-title {
        font-size: 1.3rem;
    }

    .all-forms-beyan-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .all-forms-beyan-container {
        padding: 30px 22px;
        box-shadow: none;
    }

    .all-forms-beyan-banner {
        height: 160px;
        padding: 10px;
    }

    .all-forms-beyan-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .all-forms-beyan-subtitle {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .all-forms-category-grid,
    .all-forms-status-grid {
        grid-template-columns: 1fr;
    }

    .btn-blue,
    .btn-gray {
        width: 100%;
    }
}


/* All Steps secret, just active */
.all-forms-step-section {
    display: none;
}

    .all-forms-step-section.active {
        display: block;
    }
