/* account.css */

/* Genel layout */
.account-container {
       max-width: 78.2rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 130px;
    padding: 20px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Sol menü ile sağ içerik arasında boşluk */
    
}

/* Sol Menü */
.settings-sidebar12 {
    width: 310px !important;
    background-color: #fff !important;
    border-right: 1px solid #ddd;
    padding: 14px !important;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 2px;
    flex-shrink: 0;
}

.settings-sidebar12 ul {
    list-style: none;
    padding: 0;
}

.settings-sidebar12 li {
    margin-bottom: -1px;
}

.settings-sidebar12 li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    font-family: "Bree Serif", serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.settings-sidebar12 li a:hover {
    background-color: #007782;
    color: #fff;
    font-family: "Bree Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.settings-sidebar12 li a.active {
    background-color: #007782;
    color: #fff;
}

.commercial-account {
    margin-bottom: 15px;
    padding: 4px 20px;
    margin-left: 4px;
    font-size: 16px !important;
    color: #007782 !important;
    cursor: pointer;
    text-decoration: underline;
    background: #f4f4f4 !important;
    border: 1px solid #ddd;
    font-family: "Bree Serif", serif !important;
    font-weight: 400;
    font-style: normal;
}

.commercial-account:hover {
    color: #fff !important;
    background: #006782 !important;
    text-decoration: none;
    width: 80px !important;
    font-family: "Bree Serif", serif !important;
    font-weight: 400;
    font-style: normal;
}

/* Sağ İçerik */
.settings-content2d {
    flex-grow: 1;
    padding: 15px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 2px;
}

.settings-content2d h1 {
    margin-bottom: 20px;
    color: #333;
}



/* Genel Sayfa Yapısı */
body, html {
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
}

.settings-section23ds {
    display: none;
}

.settings-section23ds.active {
    display: block;
}

.engelli-kullanicilar-icerik {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.custom-alert-danger {
    background-color: #fff3f3;
    border: 1px solid #ffcccc;
    color: #cc0000;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}






/* Profil Sayfası */
.profile-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
}

.profile-heading .profile-text {
    font-size: 18px;
    font-family: "Bree Serif", serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
}

.profile-heading .individual-text {
    font-size: 16px;
    color: #007782;
    background-color: #fff;
    border: 1px solid #007782;
    padding: 5px 40px;
    border-radius: 5px;
}

.profile-image-container23f {
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-image-container23f img {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    margin-top: -35px;
    margin-left: auto;
    margin-right: auto;
}

.profile-image-container23f input {
    display: none;
}

.profile-image-container23f label {
    display: block;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #007782;
}

.profile-change-label {
    display: block;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #007782;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.profile-change-label:hover {
    color: #005f63;
}

.user-name {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

/* Telefon Doğrulama ve Form Elemanları */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    background-color: #f8f9fa;
    max-width: 300px;
    max-height: 58px;
}

.phone-input-wrapper img.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.phone-input-wrapper .phone-code {
    font-weight: bold;
    color: #333;
}

.phone-input-wrapper input[type="tel"] {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 16px;
    margin-top: 3px;
}

.verification-button {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.verification-button:hover {
    background-color: #0056b3;
}

#verification-code-section input {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

.form-grou2dddp {
    margin-bottom: 15px;
    text-decoration: none !important;
}

.form-grou2dddp label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-grou2dddp input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.user-agreement-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    color: #444;
    font-size: 16px;
    font-weight: normal;
}

.user-agreement-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.user-agreement-container label a {
    color: #444 !important;
    text-decoration: none !important;
    font-weight: 400;
}

.user-agreement-container label a:hover {
    text-decoration: underline !important;
}

/* Butonlar */
.update-button {
    border: none;
    padding: 10px 20px;
    background-color: #007782;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.update-button:hover {
    background-color: #006680;
}

.button2dd {
    background-color: #007782;
    color: white !important;
    font-family: 'Roboto', sans-serif;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.button2dd:hover {
    text-decoration: none !important;
}

button2dd {
    background-color: #007782 !important;
    color: #fff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button2dd:hover {
    background-color: #006782;
}

/* Hesap Hareketleri */
.hesap-container {
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hesap-header {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.hesap-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hesap-filters label {
    font-size: 0.9rem;
    color: #333;
}

.hesap-filters select,
.hesap-filters input[type="date"] {
    padding: 8px;
    width: 100%;
    max-width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.hesap-filters button {
    padding: 10px 20px;
    border: none;
    background-color: #007782;
    color: #fff;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
}

.hesap-filters button:hover {
    background-color: #007753;
}

.hesap-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.hesap-table thead {
    background-color: #f4f4f4;
}

.hesap-table th,
.hesap-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}

.hesap-table th {
    color: #333;
}

.hesap-table td {
    color: #555;
}

.hesap-icons {
    display: flex;
    gap: 10px;
}

.hesap-icons img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.hesap-icons img:hover {
    opacity: 0.8;
}

/* Engellenen Kullanıcılar */
.menu-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-name {
    font-size: 16px;
    color: #333;
}

.unblock-button {
    padding: 8px 15px;
    background-color: #007782;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.unblock-button:hover {
    background-color: #005f63;
}

.no-blocked-users {
    text-align: center;
    font-size: 16px;
    color: #555;
    padding: 20px 0;
    display: none;
}

.opt-phone-box {
    max-width: 320px;
    margin-top: 15px;
}

.opt-warning-text {
    color: red;
    font-size: 14px;
    margin-bottom: 8px;
}

.opt-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f1f1;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    position: relative;
}

.opt-phone-wrapper input[type="tel"] {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.opt-phone-code {
    font-weight: bold;
    color: #333;
    pointer-events: none;
    z-index: 1;
}

.opt-flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.opt-send-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 12px;
    width: 100%;
    font-size: 16px;
}

.opt-send-button:hover {
    background-color: #0056b3;
}


/* Bildirimler ve İletişim Tercihleri */
.toggle-wrapper2edd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.toggle-wrapper2edd input {
    position: relative;
    width: 44px;
    height: 24px;
    -webkit-appearance: none;
    appearance: none;
    background: #ccc;
    outline: none;
    border-radius: 20px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.toggle-wrapper2edd input:checked {
    background: #007782 !important;
}

.toggle-wrapper2edd input:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-wrapper2edd input:checked:before {
    transform: translateX(20px);
}

.toggle-wrapper2edd input:active {
    background: #005f5f !important;
}

.toggle-wrapper2edd input:checked:active {
    background: #004848 !important;
}

/* Çıkış Yap ve Hesap Silme */
.logout-card {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    padding: 30px;
}

.logout-card p {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.logout-card .btn-logout {
    background-color: #007782;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.logout-card .btn-logout:hover {
    background-color: #005f63;
    color: white;
}

/* Modal Stilleri */
.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body .form-group {
    margin-bottom: 20px;
    text-align: center;
}

.modal-body .form-group label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.modal-body .form-group input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    font-size: 1rem;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.modal-body .invalid-feedback {
    display: block;
    text-align: center;
}

.modal-footer {
    border-top: 1px solid #ddd;
    padding: 15px;
    justify-content: center;
}

.modal-footer .btn-logout {
    background-color: #007782;
    border: none;
    color: white;
    padding: 8px 20px;
}

.modal-footer .btn-logout:hover {
    background-color: #005f63;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    border: none;
    padding: 8px 20px;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Modal z-index'ten düşük */
}

.modal {
    z-index: 1050; /* Modalın üstte kalması için z-index */
}

/* Alert Stilleri */
.custom-alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
}

.custom-alert-success {
    background-color: #d4edda;
    color: #155724;
}

.custom-alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Genel Stiller */
a {
    text-decoration: none !important;
}

.settings-content2d p {
    line-height: 1.6;
    color: #666;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.block-date {
    font-size: 12px;
    color: #666;
}

/* Mobil cihazlar için responsive tasarım */
@media (max-width: 768px) {
    .account-container {
        flex-direction: column;
    }

    .settings-sidebar12 {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .settings-content2d {
        width: 100%;
    }

    .logout-card {
        padding: 20px;
    }

    .logout-card p {
        font-size: 0.9rem;
    }

    .modal-body .form-group input {
        max-width: 100%;
    }
}