﻿body {
}
/* Configurare Generală */
:root {
    --primary: #10b981;
    --primary-hover: #059669;
    --bg-gray: #f3f4f6;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-main);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Containerul Principal */
.container {
    max-width: 500px;
    width: 90%;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

h2 {
    margin-top: 0;
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Card Info Pacient */
.info-card {
    background: var(--bg-gray);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary);
}

#pacientInfo {
    font-weight: bold;
    margin: 0;
}

#currentDoctorInfo {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Formular și Inputuri */
label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

input, select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box; /* Previne depășirea lățimii */
}

    input:focus, select:focus {
        outline: none;
        border-color: var(--primary);
        ring: 2px rgba(16, 185, 129, 0.2);
    }

/* Butoane */
.btn-confirm {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 25px;
    transition: 0.2s ease;
}

    .btn-confirm:hover {
        background: var(--primary-hover);
    }

    .btn-confirm:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.btn-cancel {
    background: transparent;
    color: var(--text-muted);
    border: none;
    text-align: center;
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
    text-decoration: underline;
}

/* Mesaje de stare */
#loading {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}