/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}



/* Language Selector */
.language-selector {
    position: absolute;
    top: 10px;
    left: 20px;
    @media (max-width: 800px) {
        top: 3px;
        left: 7px;
    }
    z-index: 100;
}

.language-selector button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 5px 10px;
    @media (max-width: 800px) {
        padding: 3px 10px;
    }
    cursor: pointer;
    transition: all 0.3s;
    font-size: 11px;
    border-radius: 10px;
}

.language-selector button.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}

/* Language Display */
.en {
    display: none;
}

body.en .en {
    display: inline-block;
}

body.en .tr {
    display: none;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #003366 0%, #ffffff 100%);
    color: white;
    padding: 3px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 180px;
}

.header-logo {
    margin-right: 30px;
}

.header-logo img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-text {
    text-align: left;
}

.header-text h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-text h2 {
    font-size: 1.5em;
    font-weight: normal;
    color: #e6f0ff;
}

nav {
    background-color: rgba(0, 48, 102, 0.9);
    /*padding: 15px 0;*/
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 70%;
}

.user-info {
    text-align: right;
    padding: 10px 20px;
    background-color: #002855;
}

.user-info span {
    margin-right: 15px;
    font-weight: bold;
}

.user-info button {
    background-color: #cc0000;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

/* Main Content */
main {
    padding: 0;
    margin: 0 auto;
}

section {
    background-color: white;
    padding: 40px 20px;
    margin-bottom: 0;
    position: relative;
}

section:nth-child(even) {
   
}

section h3 {
    color: #003366;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e6e6e6;
    text-align: center;
    font-size: 1.3em;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
section h4 {
    color: #003366;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e6e6e6;
    text-align: center;
    font-size: 1.4em;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


section h3::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #003366;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
}

#session-title{
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Event Banner */
.event-banner {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 0;
}

.event-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.login-banner {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;       /* Ekran yüksekliği kadar */
    display: flex;
    flex-direction: column;
    justify-content: center;


}

.login-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.event-banner h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.event-date, .event-location,.login-location {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-btn {
    display: inline-block;
    background-color: #ff6b00;
    color: white;
    font-size: 1.2em;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.banner-btn:hover {
    background-color: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.banner-lgn-btn{
    display: inline-block;
    background-color: #ff6b00;
    color: white;
    font-size: 1.2em;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.banner-lgn-btn:hover {
    background-color: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}




/* Event Info */
.event-info {
    padding: 30px 20px;
    background-color: #f8f9fa;
    justify-content: center;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.event-meta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-meta-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-meta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.meta-card-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #003366;
    color: white;
}

.meta-card-header .meta-icon {
    font-size: 1.8em;
    margin-right: 15px;
    color: #fff;
}

.meta-card-header h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.meta-card-content {
    padding: 20px;
}

.meta-detail {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.meta-detail:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.meta-label {
    display: block;
    font-weight: 600;
    color: #003366;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.meta-value {
    font-size: 1.2em;
    color: #ff6b00;
    font-weight: 600;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-link {
    display: flex;
    align-items: center;
    color: #003366;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border-left: 3px solid #ff6b00;
}

.file-link:hover {
    background-color: #e6f0ff;
    transform: translateX(5px);
}

.file-icon {
    margin-right: 10px;
    font-size: 1.2em;
    color: #ff6b00;
}

/* Event Description */
.description-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
}

.description-content p {
    margin-bottom: 15px;
}

/* Event Files Strip */
.event-files-strip {
    background-color: #f8f9fa;
    padding: 30px 20px;
    margin-bottom: 0;
}

.event-files-strip h3 {
    margin-bottom: 20px;
}

.files-strip-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    max-width: 1200px;
    margin: 0 auto;
    scrollbar-width: thin;
    scrollbar-color: #003366 #f0f0f0;
}

.files-strip-container::-webkit-scrollbar {
    height: 8px;
}

.files-strip-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.files-strip-container::-webkit-scrollbar-thumb {
    background-color: #003366;
    border-radius: 10px;
}

.file-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background-color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #003366;
    transition: all 0.3s ease;
    min-width: 200px;
    border-left: 3px solid #ff6b00;
}

.file-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #e6f0ff;
}

.file-icon {
    font-size: 1.5em;
    margin-right: 12px;
    color: #ff6b00;
}

.file-name {
    font-weight: 600;
}

/* Documents */
.documents {
    background-color: #f8f9fa;
}

.document-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.document-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.document-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.document-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.document-name {
    font-weight: 600;
    text-align: center;
    color: #003366;
}

/* Sessions */
.sessions {
    background-color: white;
    padding: 60px 20px;
}

.session-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.session-item {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.session-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #003366, #0056b3);
}

.session-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.session-dates {
    margin-bottom: 15px;
}

.date-range {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #003366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    position: relative;
}

.date-range::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
}

.date-start, .date-end {
    padding: 0 10px;
    font-size: 0.9em;
}

/* For single day events */
.date-start:only-child {
    padding: 0;
}

/* Hide end date if it's the same as start date */
.date-start:has(+ .date-end:empty),
.date-end:empty {
    display: none;
}

.session-item h4 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.session-time, .session-location, .person-count {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #666;
}

.time-icon, .location-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.register-btn {
    display: inline-block;
    background-color: #ff6b00;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.register-btn:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Event Header */
.event-header {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.event-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.event-header h2 {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.event-detail {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
}

.event-description {
    padding-left: 15%;
    padding-right: 15%;
}

.detail-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.registration-form {
    /*max-width: 800px;*/
    margin: 0 auto;
    padding: 40px 15%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.registration-form form
{
 
    @media (min-width: 500px) {
        width: 99%;
    }
    border-radius: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 20%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #003366;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    @media (max-width: 480px) {
        width: 100%;
    }
    padding: 12px 15px;
    border: 1px solid #c0b9b9;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.checkbox-group div {
    margin-top: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.form-actions button {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-actions button[type="submit"] {
    background-color: #ff6b00;
    color: white;
}

.form-actions button[type="submit"]:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-actions button[type="button"] {
    background-color: #f0f0f0;
    color: #333;
}

.form-actions button[type="button"]:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Registration Success */
.registration-success {
    text-align: center;
    padding: 30px;
}

.success-info {
    margin: 20px 0;
    padding: 20px;
    background-color: #f0f9ff;
    border-radius: 5px;
    border-left: 5px solid #007bff;
}

.success-info p {
    margin-bottom: 10px;
    font-size: 18px;
}

.success-info span {
    font-weight: bold;
    color: #003366;
}

#back-to-home, #back-to-home-en {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#back-to-home:hover, #back-to-home-en:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #002244 0%, #8b96a1 100%);
    color: white;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-logo img {
    max-width: 80px;
    height: auto;

    opacity: 0.9;
}

.footer-info {
    flex: 2;
    min-width: 300px;
    padding: 0 20px;
}

.contact-info h4 {
    margin-bottom: 20px;
    font-size: 1.3em;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #ff6b00;
    bottom: 0;
    left: 0;
}

.contact-info p {
    margin-bottom: 15px;
    color: #e6e6e6;
    line-height: 1.6;
}

.footer-copyright {
    flex: 1;
    min-width: 200px;
    text-align: right;
    font-size: 14px;
    color: #e6e6e6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ff6b00;
    transform: translateY(-3px);
}

.social-icon {
    font-size: 1.2em;
    font-style: normal;
}

/* Query Page Styles */
.query-section {
    max-width: 800px;
    margin: 0 auto;
}

.query-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.query-results {
    margin-top: 20px;
}

.query-results h4 {
    margin-bottom: 15px;
}

#results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#results-table th, #results-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#results-table th {
    background-color: #003366;
    color: white;
}

#results-table tr:hover {
    background-color: #f5f5f5;
}

.cancel-reg-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.cancel-reg-btn:hover {
    background-color: #c82333;
}

.no-results {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* Admin Panel Styles */
.admin-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    margin-right: 5px;
}

.tab-btn.active {
    background-color: #003366;
    color: white;
    border-color: #003366;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.action-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
}

.action-btn:hover {
    background-color: #218838;
}

#events-table, #sessions-table {
    width: 100%;
    border-collapse: collapse;
}

#events-table th, #events-table td,
#sessions-table th, #sessions-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#events-table th, #sessions-table th {
    background-color: #003366;
    color: white;
}

.edit-btn, .delete-btn, .export-btn {
    margin-right: 5px;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.edit-btn {
    background-color: #007bff;
    color: white;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

.export-btn {
    background-color: #17a2b8;
    color: white;
}

/* Admin Form Styles */
.admin-form {
    background-color: #f9f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.admin-form h4 {
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
}

/* Form Card Styles */
.form-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.form-card-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #003366;
    color: white;
}

.form-card-icon {
    font-size: 1.5em;
    margin-right: 15px;
}

.form-card-header h5 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}

.form-card-content {
    padding: 20px;
}

/* Form Layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.form-group.full-width {
    flex-basis: 100%;
    min-width: 100%;
}

/* File Upload Styles */
.file-uploads-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-upload {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 12px 15px;
    border: 1px dashed #ccc;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #007bff;
    background-color: #f0f7ff;
}

.file-upload-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
}

.file-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: #003366;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.9em;
    font-weight: bold;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.file-name {
    flex: 1;
    color: #666;
    font-style: italic;
}

/* Toggle Switch */
.status-toggle {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.toggle-checkbox {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}

.toggle-label {
    cursor: pointer;
    text-indent: 60px;
    width: 50px;
    height: 25px;
    background: #ccc;
    display: block;
    border-radius: 25px;
    position: relative;
    text-wrap-mode: nowrap;
}



.toggle-label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    background: #fff;
    border-radius: 19px;
    transition: 0.3s;
}

.toggle-checkbox:checked + .toggle-label {
    background: #28a745;
}

.toggle-checkbox:checked + .toggle-label:after {
    left: calc(100% - 3px);
    transform: translateX(-100%);
}

/* Button Styles */
.primary-btn, .secondary-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #007bff;
    color: white;
}

.primary-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: #f0f0f0;
    color: #333;
}

.secondary-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Form Fields List */
.form-fields-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.default-fields, .custom-fields-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.default-fields h6, .custom-fields-container h6 {
    color: #003366;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1em;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.form-field-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: white;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 3px solid #003366;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-field-item:last-child {
    margin-bottom: 0;
}

.form-field-item:hover {
    background-color: #f0f7ff;
    transform: translateX(5px);
}

.field-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.field-name {
    font-weight: 600;
    color: #333;
}

.field-type {
    color: #666;
    font-size: 0.9em;
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
}

.required-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 0.9em;
    font-weight: bold;
}

.custom-fields {
    min-height: 50px;
    margin-bottom: 15px;
}

.custom-fields .form-field-item {
    border-left-color: #ff6b00;
}

.add-field-container {
    text-align: center;
}

.add-field-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-field-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.add-icon {
    font-size: 1.2em;
    margin-right: 8px;
}

.remove-field-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
}

.remove-field-btn:hover {
    background-color: #c82333;
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-stats {
        flex-direction: column;
    }

    .session-list {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-info, .footer-copyright {
        margin-bottom: 20px;
    }

    .footer-copyright {
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .admin-tabs {
        flex-direction: column;
    }

    .tab-btn {
        margin-bottom: 5px;
        border-radius: 5px;
    }

    .admin-header {
        flex-direction: column;
    }

    .action-btn {
        margin-top: 10px;
    }

    #events-table, #sessions-table, #results-table {
        display: block;
        overflow-x: auto;
    }
}


/* Toggle Switch */
.status-toggle {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.toggle-checkbox {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}


.toggle-label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    background: #fff;
    border-radius: 19px;
    transition: 0.3s;
}

.toggle-checkbox:checked + .toggle-label {
    background: #28a745;
}

.toggle-checkbox:checked + .toggle-label:after {
    left: calc(100% - 3px);
    transform: translateX(-100%);
}



/* ===== Event Info Strips (Activity Index) ===== */
.event-info {
    margin: 20px 0 5px;
    padding-left: 15%;
    padding-right: 15%;
}

.event-info-strips {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* if needed we can switch to a horizontal slider on wide screens */
@media (min-width: 900px) {
    .event-info-strips.triple,
    .event-info-strips.double {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
}

.info-strip {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-left: 4px solid #003366; /* TOBB primary */
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.info-strip .strip-icon {
    font-size: 22px;
    margin-right: 12px;
    line-height: 1;
}

.info-strip .strip-body {
    flex: 1;
}

.info-strip .strip-title {
    font-weight: 600;
    color: #003366;
    margin-bottom: 4px;
}

.info-strip .strip-content {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.info-strip .strip-line .label {
    color: #5a6a85;
    font-weight: 500;
    margin-right: 6px;
}

.info-strip .strip-line .value {
    color: #24324a;
}

/* Files as scrollable chips if many */
.info-strip.info-files .files-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f6fb;
    color: #1d2a44;
    border: 1px solid #e1e7f0;
    padding: 6px 10px;
    border-radius: 16px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.file-chip:hover {
    background: #eaf2ff;
    border-color: #cbd9f1;
}

.file-chip:hover .file-name {
    text-decoration: underline;

}

.file-chip .file-icon { font-size: 16px; }
.file-chip .file-name { font-size: 14px; }

/* Make sure single item stretches nicely */
.event-info-strips.single .info-strip { border-left-color: #0066cc; }

.checkbox-group-row
{
    padding-left: 20px;
    margin-bottom: 0 !important;
}

.reg-form-checkbox-group
{
    border: solid #c0b9b9 1px;
    border-radius: 5px;
    font-size: 16px;
    
    @media (max-width: 480px) {
        width: 85%;
    }
}

/* Radio options styled to match the size of the toggle knob without changing native behavior */
.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    width:  fit-content;
    padding-left: 20px;
    margin-bottom: 6px !important;
    cursor: pointer;
}

/* Keep native radio behavior, just size and color it to ~19px (toggle knob size) */
.radio-input {
    -webkit-appearance: auto;
    appearance: auto;
    inline-size: 19px; /* logical width */
    block-size: 19px;  /* logical height */
    width: 20px!important;       /* fallback */
    height: 20px!important;      /* fallback */
    margin: 0;         /* we control spacing via .radio-option gap */
    accent-color: #28a745; /* match checked color with toggle background */
    cursor: pointer;
}

.radio-input:focus-visible {
    outline: 2px solid #80bdff;
    outline-offset: 2px;
}

.radio-label {
    cursor: pointer;
    margin-bottom: 2px!important;
}


.reg-form-radio-group
{
    border: solid #ddd 1px;
    border-radius: 5px;
    font-size: 16px;
}

.loading{
    position: absolute;
    left: 50%;
    top: 50%;
}

.registration-end-span{
    color: red;
    font-size: x-large;
    font-weight: 400;
}

.registration-end-span i{
    color: #fff;
    font-size: smaller;
}

.registration-mini-end-span{
    color: red;
    font-size: medium;
}

.registration-mini-end-span i{
    font-size: smaller;
}

.loading-gif
{
    position: absolute;
    top: 55%;
    right: 20px;
    height: 25px;
}

.registration-form-group{
    position: relative!important;
}



/*Success*/

.success-card {
    margin: 24px auto 8px auto;
    width: 100%;
    /*background: linear-gradient(135deg, #e8f8ef 0%, #f4fff9 100%);*/
    border: 1px solid #a9bbd2;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 26px rgba(23, 121, 77, 0.12);
}
.success-card .head {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.success-card .icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    background: #e6fff1;
    color: #1fa774;
    border: 1px solid #b8efcf;
    border-radius: 50%;
}
.success-card .icon i { font-size: 32px; }
.success-card h3 { margin: 0; font-size: 22px; color: #155b3e; }
.success-card p { margin: 8px 0 0 0; color: #1f3b2f; }
.id-row { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: center;}
.id-chip {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #ffffff;
    border: 1px dashed #a9bbd2;
    color: #0e4f36;
    padding: 8px 12px;
    border-radius: 10px;
}
.actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;}
.btn-primary {
    background: #426387;
    border: 1px solid #a9bbd2;
    color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.btn-primary:hover { background: #199464; color: #fff; }
.btn-secondary {
    background: #ffffff;
    border: 1px solid #a9bbd2;
    color: #155b3e; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.btn-secondary:hover { background: #f0fff8; }
.small-note { margin-top: 10px; color: #2a5b48; font-size: 0.95rem; justify-content: center;text-align: center;}
.footer-query-lnk{
    text-decoration: none;
    color: #e6e6e6;
    line-height: 1.6;
    font-weight: 700;
}

/*kvkk*/

.kvkk-and-cookie-policy { margin-top: 16px; }
.kvkk-consent { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; transition: background .2s ease; }
.kvkk-consent:hover { background: #f6f9ff; }

/* Custom looking checkbox with accessible native input */
.kvkkAccept {
    width: 20px!important;
    height: 20px;
    accent-color: #0d6efd; /* modern browsers */
    cursor: pointer;
    border-radius: 6px!important;
    box-shadow: 0 0 0 1px #bcd0ff inset;
    transition: box-shadow .2s ease, transform .05s ease!important;
}
.kvkkAccept:hover { box-shadow: 0 0 0 2px #cfe1ff inset; }
.kvkkAccept:focus { outline: none; box-shadow: 0 0 0 3px #0d6efd33; }
.kvkkAccept:active { transform: scale(0.98); }

.kvkk-text { text-decoration: underline; color: #0d6efd; cursor: pointer; user-select: none; }
.kvkk-text:focus { outline: 2px solid #0d6efd33; border-radius: 2px; }

.kvkk-modal { position: fixed; inset: 0; z-index: 1050; }
.kvkk-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.kvkk-modal-dialog {
    position: relative; margin: 5vh auto; background: #fff; width: min(800px, 92%);
    border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.2); max-height: 90vh; display: flex; flex-direction: column;
}
.kvkk-modal-header { display:flex; justify-content: space-between; align-items:center; padding: 14px 18px; border-bottom: 1px solid #e5e5e5; }
.kvkk-modal-body { padding: 18px; overflow: auto; line-height: 1.6; font-size: 0.95rem; color: #1f2937; }
.kvkk-modal-body ul { padding-left: 18px; margin: 8px 0 0 0; }
.kvkk-modal-body p { margin: 0 0 10px; }
.kvkk-modal-footer { padding: 12px 16px; border-top: 1px solid #e5e5e5; text-align: right; }
.kvkk-modal-close { background: transparent; border: none; font-size: 22px; line-height: 1; cursor: pointer; }
.kvkk-modal-ok { background: #0d6efd; color: #fff; border: none; padding: 8px 14px; border-radius: 4px; cursor: pointer; }
.kvkk-modal-ok:hover { background: #0b5ed7; }