
/* =================================
   RMS - Recruitment Management System
   Main Stylesheet
================================= */

:root {
    --primary: #2447a5;
    --primary-dark: #193579;
    --background: #f5f7fb;
    --white: #ffffff;
    --text: #202b3c;
    --muted: #778196;
    --border: #e5e9f0;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
}

header {
    background: var(--white);
    padding: 22px 7%;
    border-bottom: 1px solid var(--border);
}

header h1 {
    color: var(--primary);
    font-size: 25px;
    letter-spacing: 1px;
}

header p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

main {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

main section {
    background: var(--white);
    width: 100%;
    max-width: 650px;
    padding: 55px 35px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(30, 50, 90, 0.06);
}

main h2 {
    font-size: 30px;
    margin-bottom: 14px;
}

main section p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 13px 28px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: var(--primary-dark);
}

footer {
    text-align: center;
    padding: 22px;
    color: var(--muted);
    font-size: 12px;
}

/* =================================
   RMS STAFF LOGIN
================================= */

.login-card {
    max-width: 450px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
}

.login-submit {
    width: 100%;
    margin-top: 8px;
}

.login-note {
    margin-top: 22px;
    margin-bottom: 12px !important;
    font-size: 12px;
}

.back-link {
    color: var(--primary);
    font-size: 13px;
    text-decoration: none;
}

/* =================================
   RMS ADMIN DASHBOARD
================================= */

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.user-info button {
    padding: 9px 18px;
    font-size: 13px;
}

.dashboard-main {
    display: block;
    max-width: 1200px;
    margin: auto;
    padding: 45px 25px;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.eyebrow {
    color: var(--primary);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.dashboard-welcome h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.dashboard-welcome p {
    color: var(--muted);
    font-size: 14px;
}

.role-label {
    background: #e9efff;
    color: var(--primary);
    padding: 9px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    min-height: 165px;
}

.dashboard-card span {
    color: var(--primary);
    font-size: 12px;
    font-weight: bold;
}

.dashboard-card h3 {
    font-size: 17px;
    margin: 18px 0 10px;
}

.dashboard-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.dashboard-status {
    margin-top: 25px;
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 750px) {
    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }
}
