*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0d1117;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.recall-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

/* ============================================
   FORM EKRANI - ŞASİ GİRİŞİ
   ============================================ */

.recall-content {
    text-align: center;
}

.recall-title {
    color: #FCFCFDB3;
    font-size: 17px;
    font-weight: 400;
    margin: 0 0 28px 0;
    letter-spacing: 0.01em;
}

.recall-description {
    color: #FCFCFDB3;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 32px 0;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.recall-signature {
    color: rgba(252, 252, 253, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.recall-form {
    max-width: 360px;
    margin: 0 auto 48px;
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    color: #8b949e;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    background-color: transparent;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

    .form-input::placeholder {
        color: #fcfcfd;
    }

    .form-input:focus {
        outline: none;
        border-color: #58a6ff;
    }

.form-error {
    color: #f85149;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

/* reCAPTCHA Container */
.recaptcha-container {
    display: flex;
    justify-content: center;
}

    .recaptcha-container .g-recaptcha {
        transform: scale(1.0);
        transform-origin: center;
    }

/* Butonlar */
.btn-submit {
    display: block;
    width: 140px;
    margin: 0 auto;
    padding: 10px 24px;
    background-color: #333a42;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

    .btn-submit:hover {
        background-color: #444c56;
    }

/* ============================================
   SONUÇ EKRANI
   ============================================ */

.results-content {
    text-align: center;
}

.results-title {
    color: #FCFCFDB3;
    font-size: 17px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.results-description {
    color: #FCFCFDB3;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 32px 0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   DURUM FİLTRE 
   ============================================ */

.filter-dropdown-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .filter-dropdown-btn:hover {
        color: #c9d1d9;
    }

    .filter-dropdown-btn::after {
        content: '';
        border: solid currentColor;
        border-width: 0 1.5px 1.5px 0;
        padding: 3px;
        transform: rotate(45deg);
        margin-top: -3px;
        margin-left: 2px;
    }

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    min-width: 160px;
    z-index: 100;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

    .filter-dropdown-menu.show {
        display: block;
    }

.filter-dropdown-item {
    padding: 10px 14px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.15s ease;
    text-align: left;
}

    .filter-dropdown-item:hover {
        background-color: #0d1117;
    }

    .filter-dropdown-item.active {
        background-color: rgba(56, 139, 253, 0.15);
        color: #58a6ff;
    }

/* ============================================
   SONUÇ TABLOSU - Figma Tasarımı
   ============================================ */

.results-table-wrapper {
    margin-bottom: 28px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #3d444d;
    table-layout: fixed;
}

    .results-table thead th {
        background-color: #0d1117;
        color: #ffffff;
        font-weight: 400;
        font-size: 14px;
        padding: 14px 20px;
        text-align: center;
        border: 1px solid #ffffff;
    }

    .results-table tbody td {
        background-color: #0d1117;
        color: #ffffff;
        font-size: 14px;
        padding: 14px 20px;
        text-align: center;
        border: 1px solid #ffffff;
    }

    .results-table tbody tr:hover td {
        background-color: #161b22;
    }

/* ============================================
   AKSİYON BUTONLARI
   ============================================ */

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .btn-action.primary {
        background-color: #333a42;
        color: #ffffff;
        border: none;
    }

        .btn-action.primary:hover {
            background-color: #444c56;
            color: #ffffff;
        }

    .btn-action.outline {
        background-color: transparent;
        color: #ffffff;
        border: 1px solid #3d444d;
    }

        .btn-action.outline:hover {
            background-color: #21262d;
            color: #ffffff;
        }

/* ============================================
   INFO FOOTER 
   ============================================ */

.info-footer {
    display: flex;
    margin-top: 48px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.info-box {
    flex: 1;
    background-color: #33363b;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

    .info-box:first-child {
        border-right: 1.5px solid #000000;
    }

.info-box-title {
    color: #FCFCFD;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.info-box-value {
    color: #FCFCFD;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.03em;
}

/* ============================================
   SONUÇ YOK DURUMU
   ============================================ */

.no-results {
    text-align: center;
    padding: 40px 0;
}

.no-results-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    margin: 0 0 16px 0;
}

.no-results-message {
    color: #8b949e;
    font-size: 15px;
    margin: 0 0 32px 0;
}

/* ============================================
   HATA MESAJLARI
   ============================================ */

.validation-error {
    color: #f85149;
    font-size: 12px;
    margin-top: 6px;
}

.alert-error {
    background-color: rgba(248, 81, 73, 0.15);
    border: 1px solid rgba(248, 81, 73, 0.4);
    color: #f85149;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

@media (max-width: 640px) {
    .recall-wrapper {
        padding: 40px 16px 32px;
    }

    .recall-title,
    .results-title,
    .no-results-title {
        font-size: 16px;
    }

    .recall-description,
    .results-description {
        font-size: 14px;
    }

    .recall-form {
        max-width: 100%;
    }

    .info-footer {
        flex-direction: column;
    }

    .info-box:first-child::after {
        display: none;
    }

    .info-box:first-child {
        border-bottom: 1px solid #3d444d;
    }

    .results-table thead th,
    .results-table tbody td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-action {
        width: 100%;
        max-width: 200px;
    }
}
