:root {
    /* Color Theme */
    --primary-color: #FF6B6B;       /* Coral pink - for main actions and highlights */
    --secondary-color: #4ECDC4;     /* Turquoise - for secondary actions */
    --dark-color: #2C3E50;          /* Dark blue - for text and headers */
    --light-color: #F7F9FC;         /* Light gray - for backgrounds */
    --accent-color: #FFE66D;        /* Yellow - for accents and highlights */
    --error-color: #FF4858;         /* Red - for error messages */
    --success-color: #4CAF50;       /* Green - for success messages */
    --border-color: #E0E4E8;        /* Light gray - for borders */
}

/* Common Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    margin-bottom: 30px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-title {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin-right: 2rem !important;
}

.logout-btn {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border: 2px solid white !important;
    border-radius: 20px !important;
    cursor: pointer;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
}

.logout-btn:hover {
    background-color: white !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 30px;
}

.welcome-section h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.welcome-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

input[type="text"],
input[type="date"],
input[type="url"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Button Styles */
button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #ff5252;
}

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

.btn-secondary:hover {
    background-color: #45b7af;
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    
}

footer p {
    margin: 10px 0;
    opacity: 0.9;
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 0.9em;
    margin-top: 5px;
}

/* Required Field Indicator */
.required::after {
    content: " *";
    color: var(--error-color);
} 