/* Basit ve Kullanıcı Dostu Tasarım - Öğrenci Projesi */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f0f4f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header - Daha Basit ve Temiz */
header {
    background: #4a90e2;
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Main Content */
main {
    flex: 1;
    padding: 2.5rem 0;
}

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h2 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

/* Forms - Daha Büyük ve Anlaşılır */
.appointment-form,
.filter-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: bold;
    color: #444;
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.7rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Buttons - Daha Büyük ve Belirgin */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.btn-primary {
    background-color: #4a90e2;
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
}

.btn-primary:hover {
    background-color: #357abd;
}

.btn-secondary {
    background-color: #6c757d;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-sm {
    padding: 0.7rem 1.3rem;
    font-size: 1rem;
}

/* Alerts - Daha Belirgin */
.alert {
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border-left: 5px solid;
}

.alert-error {
    background-color: #fee;
    color: #c33;
    border-left-color: #c33;
}

.alert-success {
    background-color: #efe;
    color: #3a5;
    border-left-color: #3a5;
}

/* Success Page - Daha Etkileyici */
.success-page {
    text-align: center;
    background: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.success-page h2 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.appointment-code-box {
    background-color: #f0f4f8;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    border: 3px solid #4a90e2;
}

.code-label {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: bold;
}

.code-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4a90e2;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

.success-message {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.success-actions {
    margin-top: 2.5rem;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.login-box h2 {
    text-align: center;
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Dashboard - Daha Basit */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #4a90e2;
}

.stat-card h3 {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #4a90e2;
    margin: 1rem 0;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

.section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section h3 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #eee;
}

.data-table th {
    background-color: #f0f4f8;
    font-weight: bold;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

/* Status Badges - Daha Büyük */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: bold;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-no_show {
    background-color: #e2e3e5;
    color: #383d41;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Detail Section */
.detail-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: bold;
    color: #666;
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.detail-item strong {
    color: #333;
    font-size: 1.2rem;
}

.admin-note {
    background-color: #f0f4f8;
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 5px solid #4a90e2;
    margin-top: 0.7rem;
}

.edit-section {
    display: grid;
    gap: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

footer small {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        margin: 0.3rem;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.95rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.7rem;
    }
    
    .btn-primary {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}
