﻿
/* PDF linkleri için özel stiller */
.pdf-link {
    display: inline-flex;
    align-items: center;
    color: #4a0de0;
    text-decoration: none;
}

.pdf-link:hover {
    color: #cc2379;
}

.pdf-link i {
    font-size: 16px;
    margin-left: 2px;
}

/* Alt kısımdaki yan yana linkler için stiller */
.bottom-links-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    .bottom-links-container a {
        text-decoration: underline;
        text-underline-offset: 0.3rem;
    }

        .bottom-links-container a:not(:last-child):after {
            content: "•";
            color: #e62889;
            margin-left: 5px;
            text-decoration: none;
            display: inline-block;
        }

/* 1. MODAL: Kullanıcı Üyelik Sözleşmesi */
/* Modal temel stilleri */
.agreement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.agreement-modal-content {
    position: relative;
    background: #fff;
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 12px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.agreement-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid #eee;
    z-index: 1;
}

.agreement-title {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.agreement-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.agreement-section h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.agreement-section p {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 0.75rem;
}

/* Mobil için font boyutları */
@media (max-width: 768px) {
    .agreement-title {
        font-size: 18px;
    }

    .agreement-section h3 {
        font-size: 14px;
        margin-bottom: 0.75rem;
    }

    .agreement-text {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Sağ üstteki X butonu */
.agreement-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    padding: 0;
    z-index: 1;
    transition: color 0.2s;
}

    .agreement-close:hover {
        color: #333;
    }


.agreement-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

/* 2. MODAL: Açık Rıza Metni - Onay Butonlu */
.consent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.consent-modal-content {
    position: relative;
    background: #fff;
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 12px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.consent-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid #eee;
    z-index: 1;
}

.consent-title {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.consent-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.consent-text p {
    color: #444;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.consent-footer {
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Ortak Modal Stilleri */
.agreement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.agreement-modal-content {
    position: relative;
    background: #fff;
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 12px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.agreement-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid #eee;
    z-index: 1;
}

.agreement-title {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.agreement-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.agreement-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    padding: 0;
    z-index: 1;
    transition: color 0.2s;
}

    .agreement-close:hover {
        color: #333;
    }

/* Agreement Modal İçerik Stilleri */
.agreement-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

    .agreement-section h3 {
        color: #333;
        font-size: 15px;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .agreement-section p,
    .agreement-section ul,
    .agreement-section li {
        margin-bottom: 0.75rem;
        font-size: 13px;
        line-height: 1.5;
        color: #444;
    }

    .agreement-section ul {
        padding-left: 1.5rem;
    }

    .agreement-section li {
        margin-bottom: 0.5rem;
    }

/* Consent Modal Buton Stilleri */
.consent-btn {
    padding: 0.5rem 2rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.consent-btn-accept {
    background: #4a0de0;
    color: #fff;
}

    .consent-btn-accept:hover {
        background: #cc2379;
    }

.consent-btn-reject {
    background: #f1f1f1;
    color: #666;
}

    .consent-btn-reject:hover {
        background: #e5e5e5;
        color: #333;
    }

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    /* Agreement Modal Responsive */
    .agreement-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .agreement-header {
        padding: 1.5rem 1rem 1rem;
    }

    .agreement-body {
        padding: 1rem;
    }

    .agreement-title {
        font-size: 16px;
    }

    .agreement-section h3 {
        font-size: 14px;
    }

    .agreement-section p {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Consent Modal Responsive */
    .consent-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .consent-header {
        padding: 1.5rem 1rem 1rem;
    }

    .consent-body {
        padding: 1rem;
    }

    .consent-footer {
        padding: 1rem;
    }

    .consent-title {
        font-size: 16px;
    }

    .consent-text p {
        font-size: 12px;
        line-height: 1.4;
    }

    .consent-btn {
        padding: 0.5rem 1.5rem;
        font-size: 13px;
    }
}





/* Sözleşmeler için stiller */
#danisanSozlesmeler > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* 1rem'den 0.5rem'e düşürdüm */
}

#danisanSozlesmeler > div > div {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem; /* 0.3rem'den 0.1rem'e düşürdüm */
}

#danisanSozlesmeler input[type="checkbox"],
#danisanSozlesmeler-mobile input[type="checkbox"],
#danisanSozlesmeler-desktop input[type="checkbox"] {
    width: 1em;
    height: 1em;
    margin: 0;
    vertical-align: -2px;
}

#danisanSozlesmeler span {
    flex: 1;
    line-height: 1.3; /* 1.4'ten 1.3'e düşürdüm */
}

@media (max-width: 767px) {
    #danisanSozlesmeler > div > div {
        gap: 0.1rem; /* 0.25rem'den 0.1rem'e düşürdüm */
    }

    #danisanSozlesmeler input[type="checkbox"] {
        margin-top: 0.1rem; /* mobilde 0.1rem kalacak */
        width: 12px; /* 14px'ten 12px'e düşürdüm */
        height: 12px;
    }
}

/* Alt linkler için hover efekti */
.agreements-container a:hover {
    color: #444 !important;
}

/* Alt linkler için stiller */
.bottom-link {
    color: #986c4a;
    transition: all 0.3s ease;
}

    .bottom-link:hover {
        color: #444;
        font-weight: 600;
    }

    .bottom-link:before {
        content: "";
        text-decoration: none;
        display: inline-block;
    }

/* Alt linkler ve sözleşme linkleri için stiller */
.login-form .login-body .bottom-link,
.login-form .login-body .agreement-link,
.login-form .login-body .consent-link {
    color: #4a0de0;
    transition-duration: 0s;
}



    .login-form .login-body .bottom-link:hover,
    .login-form .login-body .agreement-link:hover,
    .login-form .login-body .consent-link:hover {
        color: #cc2379;
        font-weight: 600;
    }

    .login-form .login-body .bottom-link:before {
        content: "";
        text-decoration: none;
        display: inline-block;
    }

    .login-form .login-body .bottom-link span,
    .login-form .login-body .agreement-link span,
    .login-form .login-body .consent-link span {
        text-decoration: underline;
        text-underline-offset: 0.3rem;
        transition-duration: 0s;
    }


/* Başlık yanındaki ikon için stil */
.welcome-icon {
    color: #4a0de0;
    font-size: 1.75rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}
/* Mobil için responsive düzenlemeler */
@media (max-width: 767px) {
    .login-form {
        font-size: 13px;
    }

        .login-form .login-header h2 {
            font-size: 20px !important;
        }

        .login-form .login-body {
            padding: 15px;
        }

        .login-form .form-group label,
        .login-form .form-group input,
        .login-form .form-group input::placeholder {
            font-size: 13px !important;
        }

        .login-form .col-md-12.text-center {
            font-size: 13px;
        }

            .login-form .col-md-12.text-center .link {
                font-size: 13px;
            }

        .login-form .btn {
            font-size: 13px !important;
            padding: 8px 16px;
            height: auto !important;
        }

        .login-form #danisanSozlesmeler span,
        .login-form #danisanSozlesmeler a span {
            font-size: 11px !important;
        }

    .welcome-icon {
        font-size: 1.2rem;
    }

    .login-form .form-group {
        margin-bottom: 15px !important;
    }
}

/* Daha küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    .login-form {
        padding: 0.8rem;
    }

        .login-form .login-header h2 {
            font-size: 18px !important;
        }

    .welcome-icon {
        font-size: 1rem;
    }

    .login-form .form-group {
        margin-bottom: 12px !important;
    }

        .login-form .form-group input {
            padding: 6px 10px;
            height: 36px !important;
        }

    .login-form .btn {
        padding: 6px 14px;
    }
}

/* Diğer stiller */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .form-control {
    padding-right: 40px; /* İkon için yer aç */
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #4a0de0; /* İstenen mavi renk */
    font-size: 1.2rem;
}

/* Diğer media query'ler ve stiller */

