/* Styles for Kurs Kayıt Formu */
.kurs-kayit-container {
    background-color: #1e88e5;
    padding: 25px 20px;
    border-radius: 4px;
    color: #ffffff;
    max-width: 360px;
    margin: 0 auto;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.kurs-kayit-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.kurs-kayit-title-icon {
    height: 26px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

.kurs-kayit-title-icon-svg {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    fill: currentColor;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.kurs-kayit-field { 
    margin-bottom: 16px; 
    text-align: left;
}

.kurs-kayit-field label { 
    display: block; 
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

.kurs-kayit-field label .kurs-required {
    color: #ff3333 !important;
    font-weight: bold;
    font-size: 15px;
    margin-left: 3px;
}

.kurs-kayit-field input, .kurs-kayit-field select, .kurs-kayit-field textarea {
    width: 100%; 
    padding: 8px 12px; 
    border: none; 
    border-radius: 2px; 
    box-sizing: border-box; 
    background-color: #ffffff; 
    font-size: 13px; 
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #333333;
    outline: none;
}

.kurs-kayit-field textarea {
    min-height: 70px;
    resize: vertical;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.kurs-kayit-field input::placeholder,
.kurs-kayit-field textarea::placeholder {
    color: #757575;
    opacity: 1;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
}

.kurs-kayit-form-el .kurs-kayit-field input,
.kurs-kayit-form-el .kurs-kayit-field select {
    height: 40px;
    min-height: 40px;
}
.kurs-kayit-field select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23757575" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat; 
    background-position: calc(100% - 10px) center;
    cursor: pointer;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    color: #757575;
}

.kurs-kayit-field select.has-value {
    color: #333333 !important;
}

.kurs-kayit-field select option {
    color: #333333;
    background-color: #ffffff;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
}

.kurs-kayit-field select option[value=""] {
    color: #757575;
}

.kurs-footer-text { 
    font-size: 12px; 
    text-align: left; 
    margin-top: 18px; 
    margin-bottom: 16px;
    color: #ffffff;
    opacity: 0.95; 
    line-height: 1.4; 
}

.kurs-kayit-submit-btn {
    padding: 10px 18px; 
    border: none; 
    border-radius: 3px; 
    cursor: pointer;
    font-weight: bold; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    font-size: 14px; 
    text-transform: none; 
    transition: opacity 0.2s ease, background-color 0.2s ease;
    background-color: #0d47a1;
    color: #ffffff;
    height: 40px;
}

.kurs-icon { 
    margin-right: 8px; 
    width: 16px; 
    height: 16px; 
    fill: currentColor;
}

/* Popup Button Default Style */
.kurs-kayit-popup-btn-trigger {
    display: inline-block;
    padding: 12px 24px;
    background-color: #1e88e5;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.1s ease;
    cursor: pointer;
    text-align: center;
}
.kurs-kayit-popup-btn-trigger:hover {
    background-color: #1565c0;
    color: #ffffff !important;
}

/* Popup Modal Styles */
.kurs-kayit-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: none !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kurs-kayit-popup-modal.is-active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.kurs-kayit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.kurs-kayit-popup-wrapper {
    position: relative;
    z-index: 1000000;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    animation: kursKayitPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes kursKayitPopIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.kurs-kayit-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    z-index: 1000001;
    padding: 0 5px;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.kurs-kayit-popup-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

.kurs-kayit-popup-inner {
    max-width: 100% !important;
    box-shadow: none !important;
    border-radius: 8px !important;
}


/* Standalone Sinav Tablosu Layout Styles */
.kurs-sinav-tablosu-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    font-family: inherit;
    box-sizing: border-box;
}

.kurs-sinav-tablosu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background-color: #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .kurs-sinav-tablosu-grid {
        grid-template-columns: 1fr;
    }
}

.kurs-sinav-col-header {
    padding: 14px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.kurs-sinav-col-header.col-1 { background-color: #1565c0; }
.kurs-sinav-col-header.col-2 { background-color: #1976d2; }
.kurs-sinav-col-header.col-3 { background-color: #1e88e5; }

.kurs-sinav-sub-header {
    padding: 10px 8px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    color: #ffffff;
}

.kurs-sinav-sub-header.yks { background-color: #0284c7; }
.kurs-sinav-sub-header.lgs { background-color: #1d4ed8; }

.kurs-sinav-row-item {
    padding: 10px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #1e293b;
    transition: background 0.2s ease;
}

.kurs-sinav-row-item:hover {
    background-color: #bae6fd !important;
}

.kurs-sinav-row-item.row-9 { background-color: #f0f9ff; }
.kurs-sinav-row-item.row-10 { background-color: #e0f2fe; }
.kurs-sinav-row-item.row-11 { background-color: #e0e7ff; }
.kurs-sinav-row-item.row-tyt { background-color: #f0f7ff; }
.kurs-sinav-row-item.row-ayt { background-color: #e0f2fe; }
.kurs-sinav-row-item.row-7 { background-color: #f0f9ff; }


