@import url("divTable.css");

/* CSS Custom Properties for consistent theming */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --background-accent: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.5rem;
    --transition: all 0.2s ease-in-out;
    --th-blue-gradient: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
}

/* Modern Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    min-height: 100vh;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

img { 
    border: 0;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--primary-color);

}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--primary-color);
}

p, ul, ol {
    margin: 0;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Modern Layout */
#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--background-primary);
    box-shadow: var(--shadow-large);
    margin: 0;
    width: 100%;
}

/* Modern Header & Hero Section */
#header {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-section {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    color: white !important;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-decorative {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
}

.decoration-circle {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Page Layout */
#page {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--background-primary);
    position: relative;
}

/* Content */
#content {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

/* Modern Footer */
#footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

#footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#footer p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    color: white;
}

#footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

#footer a:hover {
    color: white;
}

.push {
    display: none; /* Not needed with flexbox layout */
}

/* Responsive Design */
@media (max-width: 768px) {
    #header {
        min-height: 50vh;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    #page {
        padding: 2rem 1rem;
    }
    
    #content {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .decoration-line {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .hero-decorative {
        gap: 0.5rem;
    }
    
    .decoration-line {
        width: 30px;
    }
    
    #page {
        padding: 1rem 0.5rem;
    }
    
    #content {
        padding: 1rem;
    }
}

/* Message styles - updated for modern design */
.mesaj_ok {
    background-image: url("./images/success.png");
    background-position: 1rem 50%;
    background-repeat: no-repeat;
    border: 1px solid var(--accent-color);
    margin: 1rem 0;
    padding: 1.5rem 1rem 1.5rem 4rem;
    background-color: #f0fdf4;
    color: var(--text-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.mesaj_error {
    background-image: url("../images/error.png");
    background-position: 1rem 50%;
    background-repeat: no-repeat;
    border: 1px solid #ef4444;
    margin: 1rem 0;
    padding: 1.5rem 1rem 1.5rem 4rem;
    background-color: #fef2f2;
    color: var(--text-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Login styles - modernized */
#login-div {
    width: auto;
    margin: 0 auto;
}

#login-new {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

#login-new a {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
}

#login-new a:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

#login-div label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

#front-page-explanation {
    clear: both;
    padding: 2rem 0;
    text-align: center;
    margin: 0 auto;
}

/* Submenu styles */
.submenu {
    clear: both;
    margin: 1rem 0;
}

.submenu a {
    background: var(--secondary-color) !important;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.submenu a:hover {
    background: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Modern table styles */
table.liste {
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin: 1rem 0;
}

table.liste td {
    vertical-align: top;
    padding: 1rem 0.75rem;
    border: 1px solid var(--border-color);
}

table.liste td div.bold {
    font-weight: 700 !important;
    font-style: normal;
    color: var(--primary-color);
}

table.liste td div.logindate {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

table.liste thead tr { 
    background: var(--th-blue-gradient); 
    color: #fff; 
    font-weight: 600;
}

table.liste thead { 
    color: #fff; 
    font-weight: 600;
}

table.liste thead td h1 { 
    background: var(--primary-color); 
    color: #fff; 
    font-weight: 600;
    font-size: 1.25rem;
}

table.liste thead a { 
    color: white !important;
}

table.liste button {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: var(--shadow-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-size: 0.875rem;
    text-decoration: none;
}

table.liste button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Enhanced button styles for user actions */
.btn-action-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 100%);
}

.btn-action-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-action-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.btn-action-success {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-action-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

.btn-action-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-action-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-action-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-action-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
}

/* Style the links inside buttons */
.btn-action-primary a,
.btn-action-secondary a,
.btn-action-success a,
.btn-action-danger a,
.btn-action-info a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

.btn-action-primary a:hover,
.btn-action-secondary a:hover,
.btn-action-success a:hover,
.btn-action-danger a:hover,
.btn-action-info a:hover {
    color: inherit;
    text-decoration: none;
}

/* Toggle buttons for collapsible content */
.btn-toggle {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.2);
    font-size: 0.875rem;
}

.btn-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* Container and form elements */
.container {
    padding: 1rem;
    margin: 0.5rem 0;
}

.container select {
    width: 100%;
    max-width: 20rem;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--background-primary);
    font-size: 1rem;
}

/* Modern Form Styles */
.modern-form {
    margin: 2rem auto;
    padding: 2rem;
    background: var(--background-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
}

.modern-form-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-form-section {
    background: var(--background-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.modern-form-section .subhead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    display: block;
}

.modern-form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.modern-form-label {
    flex: 0 0 200px;
    font-weight: 500;
    color: var(--text-primary);
    padding-top: 0.75rem;
    text-align: right;
}

.modern-form-label.required::after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}

.modern-form-input {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modern-form input[type="text"],
.modern-form input[type="email"],
.modern-form input[type="password"],
.modern-form input[type="number"],
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--background-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    box-sizing: border-box;
}

.modern-form input[type="text"]:focus,
.modern-form input[type="email"]:focus,
.modern-form input[type="password"]:focus,
.modern-form input[type="number"]:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modern-form textarea {
    resize: vertical;
    min-height: 100px;
}

.modern-form select {
    cursor: pointer;
}

.modern-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.modern-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: calc(var(--border-radius) / 2);
    transition: var(--transition);
}

.modern-checkbox-item:hover {
    background: var(--background-primary);
}

.modern-checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary-color);
}

.modern-checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
}

.modern-form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.modern-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.modern-btn-primary {
    background: var(--primary-color);
    color: white;
    padding-bottom: 2rem;
}

.modern-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.modern-btn-secondary {
    background: var(--background-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

.form-help-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-success {
    color: #22c55e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.security-question {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #f59e0b;
    margin: 1rem 0;
}

.security-question .question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-input-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .modern-form {
        margin: 1rem;
        padding: 1rem;
    }
    
    .modern-form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modern-form-label {
        flex: none;
        text-align: left;
        padding-top: 0;
    }
    
    .modern-checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .date-inputs {
        grid-template-columns: 1fr;
    }
    
    .modern-form-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Payment form styling */
.payment-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.payment-group label {
    flex: 0 0 100px;
    font-weight: 500;
    color: var(--text-primary);
}

.payment-group input[type="text"] {
    margin: 0;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: calc(var(--border-radius) / 2);
}

.payment-group .remove-payment {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: calc(var(--border-radius) / 2);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.payment-group .remove-payment:hover {
    background: #dc2626;
}

.tag-container {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    background: var(--background-primary);
}

.tag-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0.25rem;
    font-size: 1rem;
}

table thead h3 { 
    background: var(--primary-color); 
    color: #fff;
    padding: 1rem;
    margin: 0;
}

.mac {
    width: 20px;
}

#login input[name="username"], 
#login input[name="password"] {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

#login input[name="username"]:focus, 
#login input[name="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Form validation and utilities - modernized */
.error { 
    color: #ef4444;
    font-weight: 500;
}

#IpAjax {
    display: none;
}

#fixed-ip:hover, 
#MailAjaxEdit:hover, 
#IpAjaxEdit:hover {
    text-decoration: underline; 
    color: var(--primary-color);
    cursor: pointer;
}

#ekle_aygit td {
    height: 25px;
}

.foradmin {
    display: none;
}

/* Calendar styles - modernized */
.takvim-gizle {
    display: none;
}

.takvim-goster {
    display: block;
}

#takvim {
    position: absolute;
    margin-top: 0.5rem;
    z-index: 1000;
    box-shadow: var(--shadow-large);
    border-radius: var(--border-radius);
}

#takvim-button { 
    border: 1px solid var(--primary-color); 
    background: var(--primary-color); 
    color: white;
    width: 147px;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.calendarHeader {
    font-weight: 600;
    color: white;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.calendarToday {
    background-color: #fef3c7;
    border: 1px solid var(--accent-color);
    font-weight: 500;
}

.calendar {
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Archive and menu styles */
.arsiv {
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
}

.arsiv td {
    border-top: 0 !important;
    border-left: 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-right: 1px solid var(--border-color) !important;
}

.disabled {
    background: #fa7b7b !important;
}

/* Top menu - modernized */
#topmenu {
    background: var(--background-primary);
    margin: auto;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

#topmenu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#topmenu ul li {
    display: inline-block;
    list-style: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow-light);
    border: none;
    outline: none;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

#topmenu ul li:hover,
#topmenu ul li:focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: var(--shadow-medium);
}

#topmenu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: block;
    width: 100%;
    height: 100%;
    transition: color 0.2s;
}

#topmenu ul li a:hover,
#topmenu ul li a:focus {
    color: #ffe082;
    text-decoration: none;
}

.subhead {
    font-weight: bold;
    font-size: 13px;
}
.light-caption {
    border: 1px solid #E0E0E0;
    display: block;
    background: aqua;
}
/* Modern Dashboard Admin Styles */
#settings {
    margin: 2rem auto;
    padding: 2rem;
    background: var(--background-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
}

#settings div {
    margin-bottom: 2rem;
    background: var(--background-accent);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

#settings div:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

#settings div a {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.875rem 1.25rem;
    display: inline-block;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    margin-bottom: 0.75rem;
}

#settings div a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

#settings div div {
    margin: 1rem 0 0 0;
    padding: 1rem;
    background: var(--background-primary);
    border-left: 4px solid var(--accent-color);
    border-radius: calc(var(--border-radius) / 2);
}

#settings div div a {
    font-size: 0.9rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f59e0b 100%);
    padding: 0.625rem 1rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
}

#settings div div a:hover {
    box-shadow: 0 3px 8px 0 rgba(245, 158, 11, 0.3);
}

#settings span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.5rem;
    padding: 0;
    font-style: italic;
}

.ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
.ui-timepicker-div dl{ text-align: left; }
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }

.empty { background: #FFC0C0;}
.liste table {width: 458px;}

.front-page a {
    display: table !important;
    min-width: 150px;
}

.front-page h3 {
    font-size: 16px;
    font-weight: bold;
}
.presentation td{
    padding: 2px !important;
}
#session-menu li {
    display: inline;
    list-style: none;
    padding: 3px;
    background-color: #D3D3D3;
    border: 1px solid #BBBBBB;
    font-size: 14px;
    font-weight: bold;
    padding: 3px;
}
.presentation-list { width: 80%; margin: auto; padding: 20px; }
.presentation-item { padding: 10px; margin: 10px 0; border: 1px solid #ccc; background: #f9f9f9; }


.session-list { width: 80%; margin: auto; padding: 20px; }
.session-item { 
    display: block; /* Linkleri blok haline getirir, içine girme sorununu çözer */
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    background: #f9f9f9;
    text-decoration: none; /* İsterseniz alt çizgiyi kaldırabilirsiniz */
    color: black; /* Link rengini daha belirgin hale getirebilirsiniz */
}


.coffee-break {
    background: #80FF80;
    text-align: center;
}

.remind {
    border:1px solid #00FF00;
    margin-top:10px auto;
    padding:2px;
    background-color:#80FF80;
    color:#000000;
    display: table-cell;
    font-size: 10px;
}
.reviewer-list td {
    border:1px solid #ccc;
}
.last{
    margin-top: 10px;
    float: left;
}
.last a {
    margin-left: 0 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    min-width: 150px !important;
    padding: 3px !important;
}
.splash {
    margin: 10px;
    padding: 3px !important;
    background-color: #FFFF00;
    border: 1px solid #ACACAC;
    text-decoration: blink;
    float: left;
    clear: none;
}
.front-page-explanation{
    font-size: 1.4em;
}
.review-action  a {
    text-align: center;
    display: block;
    text-decoration: underline;
}

#login input[type="text"], #login textarea, #login input[type="password"]
{
    font-family: Arial, Sans-Serif;
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
    padding: 4px;
    border: solid 1px #85b1de;
    width: 300px;
    background-color: #EDF2F7;
}

#login input[type="submit"], .button-view {
    padding: 3px;
    background-color: #85b1de;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 3px 3px 1px #999;
    -webkit-box-shadow: 3px 3px 1px #999;
    border: solid 1px #CCC;
    font-size:16px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px #000000;
    min-width: 100px;
}

#login input[type="submit"]:hover, .button-view:hover {
    background-color: #000058;
}

.button-view {
       width: 300px;
}

.button-view h3 {
       color: #fff;
}

/*
icsm 2014
*/		
input {
	font-family: 'Open Sans', Ubuntu, Arial, Helvetica, sans-serif;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border:1px solid #000;
    padding:0 10px;
    height: 30px;
}

select {
    min-height: 30px;
}

input[type="file"] {
    width: 200px;
}
.upload-button {
    border:1px solid red;
    padding: 10px;
    background: #ffeeee;
}
textarea {
	font-family: 'Open Sans', Ubuntu, Arial, Helvetica, sans-serif;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border:1px solid #000;
    padding:0 10px;
}

#register span.checkbox-div {
	border:1px solid red;
	display: table-row;
	float: left;
}

.precauiton {
	color:red;
	font-size: 9px;
}

.danger {
    border-color: red;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 3px 3px 1px #999;
    -webkit-box-shadow: 3px 3px 1px #999;
    margin-bottom:2px;
}

.blue-button {
    background-color:cyan;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom:5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
}

.red-button {
    background-color: red;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom:5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
}


/* CSS */
.button-46 {
  align-items: center;
  background-color: #fff;
  border-radius: 16px;
  box-sizing: border-box;
  color: #BC1B32;
  cursor: pointer;
  display: flex;
  font-family: Inter, sans-serif;
  font-size: 18px;
  justify-content: center;
  line-height: 28px;
  max-width: 100%;
  padding: 14px 22px;
  text-decoration: none;
  transition: all .2s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
}

.button-46:active,
.button-46:hover {
  outline: 0;
  color: #BC1B32;
}

.button-46:hover {
  background-color: #D3D3D3;
  border-color: #BC1B32;
}

@media (min-width: 768px) {
  .button-46 {
    font-size: 20px;
    min-width: 200px;
    padding: 14px 16px;
    border: 1px solid #BC1B32;
  }
}

.button-45 {
    font-size: 12px;
    min-width: 100px;
    padding: 10px;
    border: 1px solid red;
    border-radius: 5px;
  }

.grid-container {
    display: grid;
    gap: 10px;
    grid-template-columns: auto auto auto;
    padding: 10px;
  }

.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 10px;
    font-size: 1rem;
    text-align: center;
    min-height: 240px;
  }

  .grid-item div {
    margin: 20px ;
  }

  .p-selected {
    border-color: #00FF00;
    background-color: #82B0EA;
  }

  .important { 
    color: red;
    font-weight: bold;
  }

  .user-profile-links {
    display: flex;
    justify-content: space-between;
    margin: 10px;
    border: 1px solid #bbb;
    padding: 10px;
    font-size: large    ;
  }
  .user-profile-links:hover {
    background-color: #f1f1f1;
  }


  .tag-container {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    padding: 5px;
    min-height: 40px;
    width: 300px;
}
.tag {
    background-color: #e2e2e2;
    border-radius: 3px;
    padding: 5px;
    margin: 2px;
    display: flex;
    align-items: center;
}
.tag .remove-tag {
    margin-left: 5px;
    cursor: pointer;
    color: red;
}
.tag-input {
    border: none;
    outline: none;
    flex-grow: 1;
}


/* Collapsible butonun stilini belirle */
.collapsible-button {
    background-color: #008CBA;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
}

/* Collapsible başlık hover ile efekt */
.collapsible-button:hover {
    background-color: #005f73;
}

/* Collapsible içeriği gizle */
.collapsible-text {
    padding: 0 10px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    margin-top: 5px;
}

#invoice {
    width: 100%;          /* Kapsayıcıyı tam genişlikte yapar */
    padding: 0;          /* İçerik dolgusunu kaldırır (isteğe bağlı) */
    margin: 0;           /* Dış boşlukları kaldırır (isteğe bağlı) */
    width: 940px;
  min-height: 600px;
}

#invoice th {
    background-color: #008CBA;
}

#invoice th, #invoice td {
    border: 1px solid black; /* Kenar çizgisi ekler */
    padding: 8px;           /* Hücre içi dolgu */
}

#invoice .full-table {
    width: 100%;         /* Tabloyu tam kapsayıcı genişliğine ayarlayın */
}

#invoice .down-table {
    width: 100%;         /* Tabloyu tam kapsayıcı genişliğine ayarlayın */
    border-collapse: collapse; /* Kenar çizgilerini birleştirir */
}

#invoice .down-table td {
    border: none; /* İç hücrelerin kenarlarını gizler */
    padding: 8px; /* İçerik için dolgu ekler */
}


.liste-container {
    display: flex;
    gap: 20px; /* İki sütun arasındaki boşluk */
}

.liste-column {
    flex: 1; /* Sütunların eşit genişlikte olması için */
    padding: 10px;
    border: 1px solid #ddd; /* Sütunları ayırt etmek için kenarlık */
}

/* Modern Admin Navbar Styles */
#admin-navbar {
    width: 100%;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-accent) 100%);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 1000;
    margin: auto;
}

#admin-navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

#admin-navbar > ul > li {
    position: relative;
    margin: 0 0.25rem;
}

#admin-navbar ul li {
    position: relative;
}

#admin-navbar ul li a {
    display: block;
    padding: 0.875rem 1.25rem;
    color: var(--primary-color);
    text-decoration: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

#admin-navbar ul li a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* 2. Level (Dropdown Menu) */
#admin-navbar ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-primary);
    padding: 0.5rem 0;
    min-width: 220px;
    flex-direction: column;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-color);
    z-index: 1001;
}

#admin-navbar ul li:hover > ul {
    display: flex;
    flex-direction: column;
    animation: fadeInDown 0.3s ease-out;
    margin-left: -1px;
}

#admin-navbar ul li ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 0;
}

#admin-navbar ul li ul li a:hover {
    background: var(--background-accent);
    color: var(--primary-color);
    transform: none;
    border-radius: calc(var(--border-radius) / 2);
}

/* 3. Level (Third Level Menu) */
#admin-navbar ul li ul li ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--background-primary);
    min-width: 200px;
    margin-left: 0.5rem;
}

#admin-navbar ul li ul li:hover > ul {
    display: block;
    animation: fadeInRight 0.3s ease-out;
}

#admin-navbar ul li ul li ul li a {
    font-size: 0.85rem;
    padding: 0.625rem 0.875rem;
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive design for admin navbar */
@media (max-width: 768px) {
    #admin-navbar ul {
        flex-direction: column;
        align-items: stretch;
    }
    
    #admin-navbar > ul > li {
        margin: 0.25rem 0;
        width: 100%;
    }
    
    #admin-navbar ul li a {
        text-align: center;
        padding: 1rem;
    }
    
    #admin-navbar ul li ul {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: var(--background-accent);
        margin: 0.5rem;
        border-radius: var(--border-radius);
    }
}

/** form style **/

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Elemanlar arasına boşluk bırak */
}

.form-group label {
    width: 150px; /* Label genişliğini sabitle */
    font-weight: bold;
}

.form-group input {
    min-width: 200px; /* Minimum genişlik belirle */
    padding: 5px;
}

.form-control-select-custom {
    height: 3em !important;
}