:root {
    /* Ana Renkler */
    --primary: #4299E1;
    --secondary: #34B289;
    --accent: #F5A623;
    
    /* Zemin ve Arka Plan */
    --bg-main: #F9FAFC;
    --bg-secondary: #F0F2F7;
    --bg-tertiary: #FFFFFF;
    --bg-dark: #1F2837;
    
    /* Tipografi */
    --text-heading: #1A2233;
    --text-subheading: #384259;
    --text-body: #4A5568;
    --text-secondary: #718096;
    --text-muted: #A0AEC0;
    --text-light: #E2E8F0;
    --text-link: #3451B2;
    --text-link-hover: #2A4090;
    
    /* Butonlar */
    --btn-primary: #3451B2;
    --btn-primary-hover: #2A4090;
    --btn-primary-active: #1E3179;
    --btn-secondary: #EDF2F7;
    --btn-secondary-text: #384259;
    --btn-secondary-hover: #E2E8F0;
    
    /* Durum ve Bildirim */
    --success: #34B289;
    --success-bg: #E3F9F3;
    --warning: #F5A623;
    --warning-bg: #FDF6EA;
    --error: #E53E3E;
    --error-bg: #FEF1F1;
    --info: #3d9ae6;
    --info-bg: #EBF8FF;
    
    /* Kenarlıklar */
    --border: #E2E8F0;
    --border-emphasized: #CBD5E0;
    --divider: #EDF2F7;
    --focus-border: #3451B2;
    --input-border: #CBD5E0;
    
    /* Formlar */
    --input-bg: #FFFFFF;
    --input-disabled: #EDF2F7;
    --placeholder: #A0AEC0;
    
    /* Modal */
    --modal-bg: #FFFFFF;
    --modal-shadow: rgba(0, 0, 0, 0.1);
    --modal-overlay: rgba(26, 32, 44, 0.4);
    
    /* Tablolar */
    --table-header-bg: #F7FAFC;
    --table-divider: #EDF2F7;
    --table-alt-row: #F9FAFC;
    --table-hover: #F0F5FF;
    --table-selected: #EBF4FF;
    
    /* Navigasyon */
    --nav-bg: #FFFFFF;
    --nav-hover: #EDF2F7;
    
    /* Kartlar */
    --card-bg: #FFFFFF;
    --card-shadow: rgba(0, 0, 0, 0.05);
    
    /* Tooltip */
    --tooltip-bg: #2D3748;
    --tooltip-text: #FFFFFF;
}
.NA_modal {    
    display: none;
    position: fixed; /* Modal'ı ekranın sağ üst köşesinde sabitlemek için fixed konumlandırma */
    top: 10%; /* Üstten 10% mesafe (isteğe bağlı) */
    right: 20%; /* Sağdan 10% mesafe (isteğe bağlı) */
    width: 500px; /* Genişlik (isteğe bağlı) */
    height: auto; /* İçeriğe göre yükseklik */
    background-color: var(--bg-tertiary); /* Arka plan daha transparan */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Alt gölge efekti */
    z-index: 1000; /* Modal'ın üstte kalması için */
    animation: slideDown 0.5s ease; /* Üstten kayarak gelen animasyon */
}

.NA_modal-content {
    margin: auto;
    width: 90%; /* İçeriğin genişliği */
}

/* Yukarıdan aşağıya doğru animasyon */
@keyframes slideDown {
    from {
        transform: translateY(-100px); /* Başlangıç konumu yukarıda */
        opacity: 0; /* Şeffaf başlar */
    }
    to {
        transform: translateY(0); /* Normal konuma iner */
        opacity: 1; /* Görünür hale gelir */
    }
}

.hidden {
    display: none;
}
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 100%;
    margin: 25px auto;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
}

.progress-step::before {
    content: attr(data-step);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.progress-step::after {
    font-size: 14px;
    color: #666;
}

.progress-step.active::before {
    background: var(--info);
    border-color: var(--info);
    color: white;
}

.progress-step.active {
    color: var(--info);
}

.close-button {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.error-message {
    color: red;
    font-size: 12px;
    display: none; /* Başlangıçta hata mesajı gizli olacak */
}


/* Tooltip stil */
.tooltip {
    visibility: hidden;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 20px;
    left: 50%;
    margin-left: -120px;
    width: 250px;
    font-size: 14px;
}

/* Konumlandırma ve stil */
label {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

label:hover .tooltip {
    visibility: visible;
}
/*******************************/

/* Form Container Styles */
#registerForm {
    padding-bottom: 5px;
    max-width: 600px;
    margin: 0 auto;
    padding: 5px;
}

/* Step Heading Styles */
.step h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--info);
}

/* Input Fields & Select Styles */
.step input[type="text"],
.step input[type="email"],
.step input[type="password"],
.step input[type="date"],
.step select,
.step textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: var(--bg-tertiary);
    transition: all 0.3s ease;
    font-size: 14px;
}

/* Select Specific Styles */
.search-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

/* Focus States */
.step input:focus,
.step select:focus,
.step textarea:focus {
    outline: none;
    border-color: var(--bg-secondary);
    box-shadow: 0 0 0 2px rgba(226, 202, 174, 0.2);
    background-color: var(--bg-main);
}

/* Label Styles */
.step label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

/* Button Styles */
.step button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.step button[type="button"] {
    background-color: #f8f9fa;
    color: #666;
    margin-right: 10px;
}

.step button[type="submit"],
.step button[onclick="nextStep()"] {
    background-color: var(--info);
    color: white;
}

.step button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Checkbox Container Styles */
label[id$="-label"] {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

/* Checkbox Styles */
input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Tooltip Styles */
.tooltip {
    display: none;
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    max-width: 200px;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
}

label:hover .tooltip {
    display: block;
}

/* Error Message Styles */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: -12px;
    margin-bottom: 10px;
    display: block;
}

/* Hidden Step Style */
.hidden {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    
    #registerForm {
        padding: 15px;
        margin: 10px;
    }
    
    .step button {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
}


/*********************************************************************/
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    max-width: 90%;
    text-align: center;
    animation: slideIn 0.4s ease-out;
}

.modal-header {
    color: #333;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2caae;
    position: relative;
}

/* Başarı modalı için özel stil */
#successModal .modal-header {
    color: #28a745;
}

/* Uyarı modalı için özel stil */
#successModal2 .modal-header {
    color: #dc3545;
}

.modal-message {
    color: #666;
    font-size: 1rem;
    margin: 20px 0;
    line-height: 1.5;
}

.modal-button {
    background: #e2caae;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(226, 202, 174, 0.3);
}

.modal-button:hover {
    background: #d5b795;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(226, 202, 174, 0.4);
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* İkonlar için özel stiller */
.modal-box::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#successModal .modal-box::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328a745' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}

#successModal2 .modal-box::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc3545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    #registerForm{        
        justify-content: center;
    }
    .modal {    
        display: none;
        position: fixed; /* Modal'ı ekranın sağ üst köşesinde sabitlemek için fixed konumlandırma */
        top: 10%; /* Üstten 10% mesafe (isteğe bağlı) */
        width: 90%; /* Genişlik (isteğe bağlı) */
        height: auto; /* İçeriğe göre yükseklik */
        overflow-y: scroll;
        z-index: 2002;
        margin-bottom: 10px;
        
    }
    .modal{
        overflow:visible;
        padding: 0;
        width: 85%;
    }
    .modal-box {
        padding: 0;
        width: 85%;
        overflow-y: auto; /* İçeriği taşarsa scroll ekler */

    }
    form{        
        padding: 0;
        margin: 0;
    }
    .step{
            padding-right: 25px;
    }
    .step h2{
        font-size: 12px;
    }
    .progress-step{
        font-size: 10px;
    }
    
    .modal-header {
        font-size: 0.8rem;
    }
    
    .modal-message {
        font-size: 10px;
    }
    
    .modal-button {
        width: 100%;
        padding: 12px;
    }

    /* Tooltip stil */
    .tooltip {
        left: 120%;
        justify-content: center;
        font-size: 10px;
    }
    .responsive-btn{
        display: flex;
        flex-direction: row;
    }
    
    /* Input Fields & Select Styles */
    .step input[type="text"],
    .step input[type="email"],
    .step input[type="password"],
    .step textarea {
        margin: 5px;
        font-size: 10px;
    }
    
    /* Error Message Styles */
    .error-message {
        color: #dc3545;
        font-size: 10px;
        margin-top: 2px;
        margin-bottom: 5px;
        display: block;
    }
    .NA_modal {    
        right: 0; /* Sağdan 10% mesafe (isteğe bağlı) */
        width: 95%; /* Genişlik (isteğe bağlı) */
    }
}


