﻿#hero {
    padding-bottom: 20px !important;
}

/* Responsive'de top scroll butonu konumu */
@media (max-width: 991px) {
    #back-to-top {
        bottom: 20px !important;
    }
}

@media (min-width: 768px) {
    #hero {
        padding-bottom: 25px !important;
    }
}

@media (min-width: 992px) {
    #hero {
        padding-bottom: 15px !important;
    }
        /* Desktop'ta align-items-center'ı kaldır, JavaScript pozisyonlaması çalışsın */
        #hero .row {
            align-items: flex-start !important;
        }
}

@media (min-width: 1200px) {
    #hero {
        padding-bottom: 15px !important;
    }
}

/* Şifre Gereksinimleri Tooltip Stilleri */
.password-requirements {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    padding: 15px;
    background-color: white;
    color: black;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #dee2e6;
    z-index: 1000;
    font-size: 13px;
}

    .password-requirements::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 20px;
        width: 12px;
        height: 12px;
        background-color: white;
        border-left: 1px solid #dee2e6;
        border-top: 1px solid #dee2e6;
        transform: rotate(45deg);
    }

    .password-requirements .requirement {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }

        .password-requirements .requirement:last-child {
            margin-bottom: 0;
        }

        .password-requirements .requirement i {
            margin-right: 10px;
            font-size: 8px;
            color: #6c757d;
            transition: all 0.3s ease;
        }

        .password-requirements .requirement.valid i {
            color: #00b894;
            font-size: 16px;
        }

            .password-requirements .requirement.valid i::before {
                content: "\eb7b"; /* ri-checkbox-circle-fill */
            }

        .password-requirements .requirement span {
            color: black;
        }

        .password-requirements .requirement.valid span {
            color: #00b894;
            font-weight: 500;
        }

/* Şifre Hata Mesajı Stilleri */
.password-error {
    display: block;
    margin-top: 5px;
    margin-left: 10px;
    color: #dc3545;
    font-size: 12px;
    font-weight: 400;
}

    .password-error i {
        display: none;
    }

    .password-error span {
        color: #dc3545;
    }

/* Şifre input hatalı durumda */
#Password.is-invalid {
    border-color: #dc3545 !important;
}

/* Üye Ol butonu disabled durumu */
#registerBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Şifre toggle butonu arka planı - Çok güçlü override */
#togglePassword,
#togglePassword.btn,
#togglePassword.btn-outline-secondary,
.input-group #togglePassword,
.input-group .btn-outline-secondary#togglePassword {
    background-color: white !important;
    background: white !important;
    border-color: #ced4da !important;
    color: black !important;
    border: 1px solid #ced4da !important;
}

    #togglePassword:hover,
    #togglePassword.btn:hover,
    #togglePassword.btn-outline-secondary:hover,
    .input-group #togglePassword:hover,
    .input-group .btn-outline-secondary#togglePassword:hover {
        background-color: #f8f9fa !important;
        background: #f8f9fa !important;
        border-color: #adb5bd !important;
        color: black !important;
        border: 1px solid #adb5bd !important;
    }

    #togglePassword:focus,
    #togglePassword.btn:focus,
    #togglePassword.btn-outline-secondary:focus,
    .input-group #togglePassword:focus,
    .input-group .btn-outline-secondary#togglePassword:focus {
        background-color: white !important;
        background: white !important;
        border-color: #ced4da !important;
        color: black !important;
        box-shadow: none !important;
        border: 1px solid #ced4da !important;
    }

    #togglePassword:active,
    #togglePassword.btn:active,
    #togglePassword.btn-outline-secondary:active,
    .input-group #togglePassword:active,
    .input-group .btn-outline-secondary#togglePassword:active {
        background-color: #e9ecef !important;
        background: #e9ecef !important;
        border-color: #adb5bd !important;
        color: black !important;
        border: 1px solid #adb5bd !important;
    }

    /* Toggle butonu içindeki icon için */
    #togglePassword i,
    #togglePassword .ri-eye-line,
    #togglePassword .ri-eye-off-line {
        color: black !important;
    }

/* Input group genel override */
.input-group .btn-outline-secondary {
    background-color: white !important;
    background: white !important;
    border-color: #ced4da !important;
    color: black !important;
    border: 1px solid #ced4da !important;
}

    .input-group .btn-outline-secondary:hover {
        background-color: #f8f9fa !important;
        background: #f8f9fa !important;
        border-color: #adb5bd !important;
        color: black !important;
        border: 1px solid #adb5bd !important;
    }

    .input-group .btn-outline-secondary:focus {
        background-color: white !important;
        background: white !important;
        border-color: #ced4da !important;
        color: black !important;
        box-shadow: none !important;
        border: 1px solid #ced4da !important;
    }

/* Sosyal Medya İkonları Stilleri */
.social-media-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.social-media-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #8b8b8b;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

    .social-media-icons .social-icon i {
        font-size: 15px;
    }

    .social-media-icons .social-icon:hover {
        background-color: #405189;
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

/* Mobile responsive */
@media (max-width: 991px) {
    .social-media-icons {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .social-media-icons .social-icon {
        width: 30px;
        height: 30px;
    }

        .social-media-icons .social-icon i {
            font-size: 14px;
        }
}

/* Checkbox yazılarını küçült */
.form-check-label {
    font-size: 13px !important;
    line-height: 1.4;
}

.form-check-label a {
    font-size: 13px !important;
}

/* Checkbox sonrası bilgi metni */
.text-muted.small {
    font-size: 12px !important;
    line-height: 1.4;
}

    .text-muted.small a {
        font-size: 12px !important;
    }

/* Checkbox'lar arası boşluğu azalt */
#registrationCard .form-check {
    margin-bottom: -0.5rem;
}

/* Agreement Modal Styles - Minimalist & Elegant Design */
.agreement-modal-dialog {
    max-width: 500px;
}

.agreement-modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.agreement-modal-header {
    border-bottom: none;
    padding: 10px 16px 0 16px;
    min-height: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.agreement-modal-header .btn-close {
    font-size: 0.875rem;
    opacity: 0.5;
    padding: 0.25rem;
    margin: 0;
    margin-left: auto;
}

.agreement-modal-header .btn-close:hover {
    opacity: 0.75;
}

.agreement-modal-body {
    padding: 0 16px 16px 16px;
    margin-top: -4px;
}

/* Tab Navigation - Elegant & Minimalist */
.agreement-tabs {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    gap: 0;
}

.agreement-tabs .nav-item {
    margin-bottom: -1px;
}

.agreement-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6c757d;
    font-weight: 400;
    font-size: 14px;
    padding: 12px 16px;
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-right: 0;
}

.agreement-tabs .nav-link:hover {
    color: #0d6efd;
    background-color: transparent;
    border-bottom-color: transparent;
}

.agreement-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    background: transparent;
    font-weight: 500;
}

/* Tab Content */
.agreement-tab-content {
    max-height: 550px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 #ffffff;
    padding-top: 16px;
}

.agreement-tab-content::-webkit-scrollbar {
    width: 5px;
}

.agreement-tab-content::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 10px;
}

.agreement-tab-content::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 10px;
}

.agreement-tab-content::-webkit-scrollbar-thumb:hover {
    background: #ced4da;
}

.agreement-content {
    padding: 0;
    line-height: 1.6;
    color: #212529;
    font-size: 12px;
}

.agreement-content p {
    margin-bottom: 10px;
    font-size: 12px;
}

.agreement-content h5 {
    font-size: 14px;
    font-weight: 600;
}

.agreement-content h6 {
    font-size: 13px;
    font-weight: 600;
}