/* Variabile CSS pentru o stilizare ușoară */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #333;
    --bg-color: #f4f4f9;
    --container-bg: #fff;
    --text-color: #555;
    --border-radius: 8px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Stilizare de bază și fonturi */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Layout și Containere --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.headerbar, .footerbar {
    width: 100%;
    z-index: 1000;
}

.headerbar {
    background-color: var(--container-bg);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
}

.footerbar {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto; /* Asigură că footer-ul stă jos */
}

.main-content {
    flex-grow: 1;
    padding: 40px 0;
}

.content-box {
    background-color: var(--container-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Stilizare Header și Navigare --- */
.headerbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

/* --- Butoane --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-google {
    background-color: var(--primary-color);
    color: white;
}

.btn-google:hover {
    background-color: #43a047; /* O nuanță mai închisă la hover */
    transform: translateY(-2px);
}

.btn-logout {
    background-color: #e53935;
    color: white;
}

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

/* --- Stilizare conținut --- */
.welcome-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.welcome-section p {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 3rem;
}

/* --- Design Responsiv --- */
@media (max-width: 768px) {
    .headerbar .container {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
}