@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --pmi-red: #E30613;
    --pmi-red-dark: #C20410;
    --pmi-red-deep-dark: #a1000b;
    --primary: #007bff;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --text-primary: #333;
    --text-secondary: #666;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--pmi-red-dark), var(--pmi-red-deep-dark));
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Auth Pages Styling */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-logo {
    max-width: 90px;
    margin-bottom: 1.5rem;
}

.auth-card {
    background-color: white;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    text-align: center;
    border-top: 5px solid var(--pmi-red);
}

.auth-card h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.auth-card p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.9em;
}

.auth-switch a {
    color: var(--pmi-red-dark);
    text-decoration: none;
    font-weight: 500;
}
.auth-switch a:hover {
    text-decoration: underline;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9em;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--pmi-red-dark);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 2rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .auth-card {
        max-width: 850px;
    }
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--pmi-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Dashboard Styling */
.dashboard-container {
    display: flex;
}

.sidebar {
    width: 250px;
    background-color: var(--dark);
    color: white;
    min-height: 100vh;
    padding: 20px;
}

.sidebar h2 {
    color: var(--pmi-red);
    text-align: center;
    margin-bottom: 30px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.sidebar ul li a:hover, .sidebar ul li a.active {
    background-color: var(--pmi-red-dark);
}

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

