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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #000000 50%, #000000 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

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

.header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: rgba(30, 41, 59, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.card h2 {
    color: #e2e8f0;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 10px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #475569;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

/* DateTime Styling */
.datetime-container {
    position: relative;
}

.date-picker-wrapper {
    position: relative;
}

.date-picker-wrapper input[type="date"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.date-display {
    background: rgba(51, 65, 85, 0.8);
    border: 2px solid #475569;
    border-radius: 10px;
    padding: 12px 15px;
    color: #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-display:hover {
    border-color: #3b82f6;
}

.date-display::after {
    content: "📅";
    font-size: 18px;
    opacity: 0.7;
}

.date-placeholder {
    color: #94a3b8;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.time-slot {
    background: rgba(51, 65, 85, 0.6);
    border: 2px solid #475569;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.time-slot:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.time-slot.unavailable {
    background: rgba(71, 85, 105, 0.3);
    border-color: #475569;
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.5;
}

.time-slot.unavailable:hover {
    transform: none;
    border-color: #475569;
    background: rgba(71, 85, 105, 0.3);
}

.selected-time {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: #3b82f6;
    text-align: center;
    font-size: 14px;
}

.btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.appointments-list {
    grid-column: 1 / -1;
}

.appointment-item {
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid #475569;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.appointment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.appointment-info h4 {
    color: #e2e8f0;
    margin-bottom: 5px;
}

.appointment-info p {
    color: #94a3b8;
    font-size: 14px;
}

.appointment-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-confirmed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 10px;
}

.stat-label {
    color: #cbd5e1;
    font-weight: 600;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .card {
        padding: 20px;
    }
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}

.logout-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 16px;   /* daha geniş */
    font-size: 0.95rem;  /* biraz büyük */
    border-radius: 6px;
    width: auto;         /* sabit genişlik yok */
}


p {
    color: #e2e8f0;
}

h3 {
    color: #e2e8f0;
}