/**
 * Dosya: assets/public-style.css
 * Açıklama: Özdem Event Manager - Final Tasarım
 * Durum: GOLDEN MASTER (Temiz, Eksiksiz ve Optimize)
 */

:root {
    --ozdem-primary: #2271b1;       /* WordPress Mavisi */
    --ozdem-primary-hover: #135e96;
    --ozdem-secondary: #f0f6fc;
    --ozdem-success: #22c55e;       /* Modern Yeşil */
    --ozdem-danger: #d63638;        /* Hata Kırmızısı */
    --ozdem-text: #1d2327;
    --ozdem-border: #dcdcde;
    --ozdem-bg-light: #fcfcfc;
    --ozdem-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- 1. ANA KAPSAYICI --- */
.ozdem-form-wrapper {
    max-width: 800px;
    margin: 30px auto;
    background: #fff;
    border: 1px solid var(--ozdem-border);
    border-radius: 8px;
    box-shadow: var(--ozdem-shadow);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ozdem-text);
    padding: 30px;
    line-height: 1.5;
    box-sizing: border-box;
    position: relative; /* Dil seçici için referans noktası */
}

.ozdem-form-wrapper[dir="rtl"] {
    text-align: right;
}

.ozdem-form-wrapper[dir="rtl"] .ozdem-field-label,
.ozdem-form-wrapper[dir="rtl"] .ozdem-row-title,
.ozdem-form-wrapper[dir="rtl"] .ozdem-kvkk-confirmation,
.ozdem-form-wrapper[dir="rtl"] #ozdem-payment-section {
    text-align: right;
}

.ozdem-form-wrapper[dir="rtl"] input:not([type="email"]):not([type="url"]):not([type="tel"]),
.ozdem-form-wrapper[dir="rtl"] textarea,
.ozdem-form-wrapper[dir="rtl"] select {
    text-align: right;
}

.ozdem-form-wrapper[dir="rtl"] input[type="email"],
.ozdem-form-wrapper[dir="rtl"] input[type="url"],
.ozdem-form-wrapper[dir="rtl"] input[type="tel"] {
    direction: ltr;
    text-align: left;
}

/* --- 2. HEADER & LOGO --- */
.ozdem-form-logo {
    text-align: center;
    margin-bottom: 15px;
}

.ozdem-form-logo img {
    max-height: 80px;
    width: auto;
    display: inline-block;
}

.ozdem-header-fancy {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
}

.ozdem-header-fancy h2 {
    margin: 0 0 10px 0;
    color: var(--ozdem-primary);
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- DİL SEÇİCİ (BAŞLIĞIN ALTINDA, SINIRSIZ SATIR DESTEĞİ) --- */
.ozdem-lang-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 14px;
    padding: 0 4px;
    box-sizing: border-box;
}

.ozdem-lang-btn {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
    white-space: nowrap;
}

.ozdem-lang-btn:hover {
    background: var(--ozdem-secondary);
    color: var(--ozdem-primary);
    border-color: var(--ozdem-primary);
}

/* Tarih ve Yer Bilgisi */
.ozdem-event-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.ozdem-info-date, .ozdem-info-location {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ozdem-secondary);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.ozdem-info-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--ozdem-primary);
}

.ozdem-badge {
    display: inline-block;
    background: var(--ozdem-primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- 3. BÖLÜM ÇERÇEVESİ --- */
.ozdem-section-frame {
    background: var(--ozdem-bg-light);
    border: 1px solid var(--ozdem-border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.ozdem-section-frame h3, 
.common-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--ozdem-primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    font-weight: 600;
}

/* --- 4. FORM ELEMANLARI --- */
.ozdem-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.ozdem-input-group { margin-bottom: 5px; }
.ozdem-input-group-phone {
    grid-column: 1 / -1;
    min-width: 0;
}

.ozdem-field-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 12px;
    color: #444;
}

.ozdem-input, .ozdem-select {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--ozdem-border);
    border-radius: 4px;
    font-size: 13px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.ozdem-phone-field {
    display: grid;
    grid-template-columns: minmax(105px, 135px) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.ozdem-phone-field .phone-code-select,
.ozdem-phone-field input[type="tel"] {
    min-width: 0;
    max-width: 100%;
}

.ozdem-input:focus, .ozdem-select:focus {
    border-color: var(--ozdem-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}

/* --- 5. SATIR KARTLARI (Row Item) --- */
.ozdem-row-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--ozdem-border);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.ozdem-row-item[data-type="athlete"] { border-left-color: var(--ozdem-primary); }
.ozdem-row-item[data-type="coach"] { border-left-color: #8e44ad; }
.ozdem-row-item[data-type="parent"] { border-left-color: #e67e22; }
.ozdem-row-item[data-type="official"] { border-left-color: #27ae60; }

.ozdem-row-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ozdem-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f5f5f5;
}

.ozdem-row-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

/* --- YENİ: SPORCU İÇİ VELİ ALANI (Nested) --- */
.athlete-parent-section {
    background-color: #fafafa;
    border: 1px dashed #ccd0d4;
    padding: 15px;
    margin-top: 15px;
    border-radius: 4px;
}
.parent-fields-wrapper {
    margin-top: 10px;
    padding-left: 10px;
    border-left: 2px solid #e67e22; /* Veli rengi */
}

/* --- 6. BUTONLAR --- */
.ozdem-action-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.ozdem-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--ozdem-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ozdem-add-btn:hover { background-color: var(--ozdem-primary-hover); }

.ozdem-btn-secondary { background-color: #646970; }
.ozdem-btn-secondary:hover { background-color: #4f545a; }

/* Sil Butonu */
.ozdem-remove-row-btn {
    background: transparent;
    color: var(--ozdem-danger);
    border: 1px solid transparent;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.ozdem-remove-row-btn:hover {
    background: #fff0f0;
    border-color: #ffcccc;
}

/* Submit Butonu */
.ozdem-submit-button {
    background: var(--ozdem-success);
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}
.ozdem-submit-button:hover { 
    background: #16a34a; 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 197, 94, 0.4);
}

/* --- 7. BİLDİRİM KARTLARI --- */
.ozdem-notice-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid #eee;
}
.ozdem-notice-card.info { border-left: 4px solid var(--ozdem-primary); }
.ozdem-notice-card.danger { border-left: 4px solid var(--ozdem-danger); }
.notice-icon span { font-size: 32px; width: 32px; height: 32px; }
.notice-content h3 { margin: 0 0 5px 0; font-size: 16px; }
.notice-content p { margin: 0; font-size: 13px; }

/* --- 8. KVKK & DİĞERLERİ --- */
.ozdem-kvkk-confirmation {
    margin-top: 25px;
    border: 1px solid var(--ozdem-border);
    border-radius: 6px;
    overflow: hidden;
}
.kvkk-header {
    background: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid var(--ozdem-border);
    font-weight: 600;
    font-size: 13px;
    color: #333;
}
.kvkk-content {
    max-height: 120px;
    overflow-y: auto;
    padding: 15px;
    font-size: 12px;
    color: #555;
}
.kvkk-check { padding: 10px 15px; background: #fdfdfd; border-top: 1px solid var(--ozdem-border); }
.kvkk-check label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--ozdem-primary); font-size: 13px; }

/* Sponsorlar */
.ozdem-sponsor-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}
.ozdem-sponsor-container img {
    max-width: 140px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}
.ozdem-sponsor-container img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Etkinlikler sayfası takvim ve ikon iletişim alanı */
.ozdem-events-hub {
    max-width: 1180px;
    margin: 32px auto;
    padding: 0 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d2327;
}
.ozdem-events-hub-hero {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}
.ozdem-events-hub-hero span,
.ozdem-events-hub-top span {
    color: var(--ozdem-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.ozdem-events-hub-hero h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.12;
    color: #111827;
}
.ozdem-events-hub-hero p {
    max-width: 760px;
    margin: 0;
    color: #4b5563;
    font-size: 15px;
}
.ozdem-events-hub-panel {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
}
.ozdem-events-hub-top,
.ozdem-events-calendar-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.ozdem-events-hub-top h2,
.ozdem-events-calendar-head h3 {
    margin: 2px 0 0;
    color: #111827;
}
.ozdem-events-view-tabs {
    display: inline-flex;
    padding: 4px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
}
.ozdem-events-view-tabs a {
    min-width: 92px;
    padding: 8px 13px;
    border-radius: 6px;
    color: #475569;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}
.ozdem-events-view-tabs a.is-active {
    background: var(--ozdem-primary);
    color: #fff;
}
.ozdem-events-filter {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
}
.ozdem-events-filter label {
    display: grid;
    gap: 5px;
    margin: 0;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}
.ozdem-events-filter input,
.ozdem-events-filter select {
    width: 100%;
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
}
.ozdem-events-filter button,
.ozdem-events-card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--ozdem-primary);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.ozdem-events-card-actions a + a {
    background: #fff;
    color: var(--ozdem-primary);
    border: 1px solid #bfdbfe;
}
.ozdem-events-calendar {
    display: grid;
    gap: 14px;
}
.ozdem-events-calendar-head nav {
    display: flex;
    gap: 8px;
}
.ozdem-events-calendar-head nav a {
    padding: 8px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: var(--ozdem-primary);
    font-weight: 800;
    text-decoration: none;
}
.ozdem-events-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
}
.ozdem-events-day-name {
    padding: 9px 6px;
    background: var(--ozdem-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}
.ozdem-events-day {
    min-height: 122px;
    padding: 8px;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}
.ozdem-events-day:nth-child(7n+7) {
    border-right: 0;
}
.ozdem-events-day.is-muted {
    background: #f8fafc;
    opacity: .58;
}
.ozdem-events-day time {
    display: inline-grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}
.ozdem-events-day-items {
    display: grid;
    gap: 5px;
    margin-top: 5px;
}
.ozdem-events-day-items a {
    display: grid;
    gap: 2px;
    padding: 6px;
    border-left: 3px solid var(--ozdem-success);
    border-radius: 4px;
    background: #eef6f2;
    color: #0f172a;
    text-decoration: none;
}
.ozdem-events-day-items strong {
    font-size: 11px;
    line-height: 1.25;
}
.ozdem-events-day-items small {
    color: #64748b;
    font-size: 9px;
    line-height: 1.25;
}
.ozdem-events-list-grid {
    display: grid;
    gap: 14px;
}
.ozdem-events-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
}
.ozdem-events-card-media {
    display: grid;
    min-height: 112px;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: #edf2f7;
    color: var(--ozdem-primary);
    font-size: 34px;
    font-weight: 900;
    text-decoration: none;
}
.ozdem-events-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ozdem-events-card-body {
    display: grid;
    gap: 10px;
}
.ozdem-events-card-body h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}
.ozdem-events-card-body h3 a {
    color: #111827;
    text-decoration: none;
}
.ozdem-events-card-body dl {
    display: grid;
    gap: 6px;
    margin: 0;
}
.ozdem-events-card-body dl div {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px;
}
.ozdem-events-card-body dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}
.ozdem-events-card-body dd {
    margin: 0;
    color: #1f2937;
    font-size: 13px;
}
.ozdem-events-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ozdem-form-contact-icons,
.ozdem-event-contact-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 12px 0;
    list-style: none;
}
.ozdem-event-contact-icons {
    justify-content: flex-start;
    margin: 0;
}
.ozdem-form-contact-icons > li,
.ozdem-event-contact-icons > li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ozdem-form-contact-icons > li::before,
.ozdem-event-contact-icons > li::before,
.ozdem-form-contact-icons > li::marker,
.ozdem-event-contact-icons > li::marker {
    content: none !important;
    display: none !important;
}
.ozdem-contact-icon-link {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #dbe3ec;
    border-radius: 50%;
    background: #fff;
    color: var(--ozdem-primary);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ozdem-contact-icon-link:hover {
    transform: translateY(-1px);
    border-color: var(--ozdem-primary);
    background: var(--ozdem-secondary);
}
.ozdem-contact-icon-link[data-contact-type="whatsapp"] {
    color: #128c7e;
}
.ozdem-contact-icon-link[data-contact-type="instagram"] {
    color: #c13584;
}
.ozdem-contact-icon-link[data-contact-type="facebook"] {
    color: #1877f2;
}
.ozdem-contact-icon-link .dashicons {
    width: 19px;
    height: 19px;
    font-size: 19px;
}
.ozdem-contact-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.ozdem-event-form-footer {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 42px;
    padding: 24px 12px 4px;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}
.ozdem-event-form-footer p {
    margin: 0 0 7px;
}
.ozdem-event-form-footer p:last-child {
    margin-bottom: 0;
}
.ozdem-event-footer-brand img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 76px;
    object-fit: contain;
}
.ozdem-event-specific-footer,
.ozdem-event-global-footer {
    max-width: 680px;
}
.ozdem-events-empty {
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    text-align: center;
    font-weight: 700;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .ozdem-form-wrapper { padding: 15px; margin: 10px; }
    .ozdem-input-grid { grid-template-columns: 1fr; }
    .ozdem-submit-button { width: 100%; }
    .ozdem-action-bar { justify-content: center; }
    .ozdem-events-hub { padding: 0 10px; }
    .ozdem-events-hub-hero h1 { font-size: 27px; }
    .ozdem-events-hub-panel { padding: 12px; }
    .ozdem-events-hub-top,
    .ozdem-events-calendar-head { align-items: stretch; flex-direction: column; }
    .ozdem-events-view-tabs { align-self: stretch; }
    .ozdem-events-view-tabs a { flex: 1; }
    .ozdem-events-filter { grid-template-columns: 1fr; }
    .ozdem-events-calendar-grid { min-width: 760px; }
    .ozdem-events-calendar { overflow-x: auto; }
    .ozdem-events-card { grid-template-columns: 1fr; }
    .ozdem-events-card-media { aspect-ratio: 16 / 9; }
    .ozdem-events-card-body dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* --- YENİ: ÖDEME TABLOSU VE AKORDİYON --- */
.ozdem-payment-accordion {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.ozdem-pay-item {
    border-bottom: 1px solid #eee;
}
.ozdem-pay-item:last-child {
    border-bottom: none;
}

.ozdem-pay-header {
    background: #f9f9f9;
    padding: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.ozdem-pay-header:hover {
    background: #f0f6fc;
}
.ozdem-pay-header.active {
    background: #e5f5fa;
    border-left: 4px solid #2271b1;
}

.ozdem-pay-content {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #555;
    display: none; /* JS ile açılacak */
}

/* Detaylı Tablo */
#ozdem-payment-breakdown table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
#ozdem-payment-breakdown td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
#ozdem-payment-breakdown tr:last-child td {
    border-bottom: none;
}

/* Kredi Kartı Formu */
.ozdem-cc-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

/* --- 🔴 PERSONEL (PERSONNEL) ÖZEL STİLLERİ --- */
.personnel-section h3 {
    color: #7e22ce; /* Mor */
}

#add-personnel-row {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #d8b4fe;
}
#add-personnel-row:hover {
    background: #f3e8ff;
    color: #6b21a8;
}
.ozdem-item.personnel-item {
    border-left: 4px solid #7e22ce;
}
.ozdem-item.personnel-item .ozdem-row-header {
    background: #faf5ff;
    color: #7e22ce;
}
/* Kulüp Logosu (Karemsi, ortalı) */
.ozdem-club-logo-thumb {
    width: 46px; height: 46px; object-fit: contain;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 8px; padding: 3px;
}

/* Profil Fotoğrafı (Yuvarlak) */
.ozdem-profile-thumb {
    width: 42px; height: 42px; object-fit: cover;
    border-radius: 50%; border: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* Dosya Inputu Şıklaştırma */
.ozdem-file-input {
    padding: 8px; border: 1px dashed #cbd5e1;
    background: #f8fafc; border-radius: 8px; width: 100%;
}

.ozdem-minimum-registration-warning,
.ozdem-required-field-warning {
    display: block;
    margin: 10px 0 18px;
    padding: 13px 15px;
    border: 1px solid #ef4444;
    border-left-width: 5px;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(153, 27, 27, 0.08);
}

.ozdem-minimum-registration-warning:focus,
.ozdem-required-field-warning:focus {
    outline: 3px solid rgba(239, 68, 68, 0.22);
    outline-offset: 2px;
}

.ozdem-registration-field-invalid > .ozdem-input,
.ozdem-registration-field-invalid > .ozdem-select,
.ozdem-registration-field-invalid .ozdem-phone-field > .ozdem-input,
.ozdem-registration-field-invalid input[type="file"] {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.ozdem-registration-form-lite .ozdem-section-frame {
    background: #fff;
    border-color: #dbe3ec;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
}

.ozdem-registration-form-lite .ozdem-section-frame h3,
.ozdem-registration-form-lite .common-section h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 9px;
    font-size: 15px;
    line-height: 1.25;
    border-bottom-color: #e6edf5;
}

.ozdem-registration-form-lite .ozdem-input-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.ozdem-registration-form-lite .ozdem-field-label {
    font-size: 12px;
    color: #334155;
}

.ozdem-registration-form-lite .ozdem-input,
.ozdem-registration-form-lite .ozdem-select {
    height: 36px;
    border-radius: 6px;
}

.ozdem-registration-form-lite .ozdem-row-item {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: none;
}

.ozdem-registration-form-lite .ozdem-row-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.ozdem-registration-form-lite .ozdem-row-title {
    font-size: 13px;
    text-transform: none;
}

.ozdem-registration-form-lite .ozdem-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.ozdem-registration-form-lite .ozdem-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 7px;
}

.ozdem-registration-form-lite .ozdem-kvkk-confirmation,
.ozdem-registration-form-lite #ozdem-payment-section {
    border-radius: 8px;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .ozdem-registration-form-lite .ozdem-section-frame {
        padding: 14px;
    }

    .ozdem-registration-form-lite .ozdem-input-grid {
        grid-template-columns: 1fr;
    }

    .ozdem-input-group-phone {
        grid-column: 1 / -1;
    }

    .ozdem-phone-field {
        grid-template-columns: minmax(105px, 135px) minmax(0, 1fr);
    }

    .ozdem-registration-form-lite .ozdem-add-btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 340px) {
    .ozdem-phone-field {
        grid-template-columns: 1fr;
    }
}

/* Kayıt sırasında zorunlu katılımcı formları */
.ozdem-registration-forms {
    width: 100%;
    margin: 18px 0 4px;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}
.ozdem-registration-forms > header { display:grid; gap:4px; margin-bottom:12px; }
.ozdem-registration-forms > header strong { color:#1e3a8a; font-size:15px; }
.ozdem-registration-forms > header small { color:#64748b; line-height:1.45; }
.ozdem-registration-form { margin-top:10px; border:1px solid #dbeafe; border-radius:10px; background:#fff; overflow:hidden; }
.ozdem-registration-form summary { padding:12px 14px; cursor:pointer; color:#0f172a; font-weight:900; }
.ozdem-registration-form summary span { float:right; border-radius:999px; background:#fee2e2; color:#991b1b; padding:3px 8px; font-size:10px; }
.ozdem-registration-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:14px; border-top:1px solid #e2e8f0; }
.ozdem-reg-form-field { display:grid; gap:6px; color:#334155; font-size:12px; font-weight:800; }
.ozdem-reg-form-field b,.ozdem-reg-form-check b,.ozdem-reg-form-choice b { color:#dc2626; }
.ozdem-reg-form-field input,.ozdem-reg-form-field textarea,.ozdem-reg-form-field select { width:100%; min-height:40px; padding:8px 10px; border:1px solid #cbd5e1; border-radius:7px; background:#fff; }
.ozdem-reg-form-field small { color:#64748b; font-weight:500; }
.ozdem-reg-form-condition { display:contents; }
.ozdem-reg-form-condition[style*="display: none"] { display:none !important; }
.ozdem-reg-form-check { grid-column:1/-1; display:grid; grid-template-columns:auto 1fr; gap:9px; align-items:start; padding:11px; border:1px solid #e2e8f0; border-radius:8px; color:#334155; line-height:1.5; }
.ozdem-reg-form-check input { margin-top:3px; }
.ozdem-reg-form-choice { grid-column:1/-1; display:flex; gap:18px; align-items:center; margin:0; padding:11px; border:1px solid #e2e8f0; border-radius:8px; }
.ozdem-reg-form-choice legend { float:left; width:min(65%,560px); color:#334155; font-weight:800; }
.ozdem-reg-form-choice label { display:flex; gap:5px; align-items:center; font-weight:800; }
.ozdem-reg-form-content { grid-column:1/-1; padding:10px 12px; border-radius:8px; background:#f8fafc; color:#334155; line-height:1.55; }
.ozdem-reg-form-content.heading { border-left:4px solid #2563eb; color:#0f172a; font-size:15px; }
.ozdem-reg-form-content.divider { padding:4px 0; border-bottom:2px solid #1e3a8a; border-radius:0; background:transparent; }
.ozdem-reg-form-field.system input { background:#f1f5f9; color:#475569; }
.ozdem-reg-form-acceptance { grid-column:1/-1; display:grid; grid-template-columns:auto 1fr; gap:9px; align-items:start; padding:12px; border:1px solid #86efac; border-radius:9px; background:#f0fdf4; color:#166534; font-weight:800; line-height:1.5; }
.ozdem-reg-form-acceptance input { margin-top:3px; }
@media(max-width:640px){.ozdem-registration-form-grid{grid-template-columns:1fr}.ozdem-reg-form-choice{display:grid}.ozdem-reg-form-choice legend{float:none;width:auto}.ozdem-reg-form-check,.ozdem-reg-form-choice{grid-column:auto}}
