:root {
    --primary-blue: #003366;
    --dark-blue: #002244;
    --accent-orange: #FFD700; /* Adjusted for visibility, original might be different */
    --white: #ffffff;
    --text-dark: #333333;
    --light-gray: #f4f4f4;
    --form-bg: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif; /* Assuming Inter or similar sans-serif */
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
.header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.header-icons {
    display: flex;
    gap: 15px;
}

/* Sidebar */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: #222;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #444;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#main {
    transition: margin-left .3s;
    padding: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.hero img {
    width: 100%;
    height: auto;
    filter: brightness(0.7);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    width: 90%;
}

/* Cards / Procedures */
.procedure-card {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.procedure-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

button.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 1rem;
}

.gallery-item {
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 10px;
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.item-info {
    padding: 10px;
    text-align: left;
}

.item-tag {
    display: inline-block;
    font-size: 0.8rem;
    background: #ddd;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
}

/* Forms */
.form-container {
    padding: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background-color: var(--form-bg);
}

/* Auth Pages */
.auth-page {
    background-color: var(--primary-blue);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.auth-card {
    background: white;
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
