/* FEU Roosevelt CAPE Design System */
/* Consistent styling across all pages */

/* Color Palette */
:root {
    /* Primary Colors */
    --primary-white: #ffffff;
    --primary-light: #f8f9fa;
    --primary-gray: #f1f3f4;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-muted: #8a9ba8;
    
    /* Accent Colors */
    --accent-green: #4CAF50;
    --accent-green-dark: #45a049;
    --accent-yellow: #FFC107;
    --accent-yellow-light: rgba(255, 193, 7, 0.1);
    
    /* Status Colors */
    --success-bg: rgba(212, 237, 218, 0.8);
    --success-border: rgba(195, 230, 203, 0.5);
    --success-text: #155724;
    
    --error-bg: rgba(248, 215, 218, 0.8);
    --error-border: rgba(245, 198, 203, 0.5);
    --error-text: #721c24;
    
    --warning-bg: rgba(255, 243, 205, 0.8);
    --warning-border: rgba(255, 235, 59, 0.5);
    --warning-text: #856404;
    
    /* Disabled Colors */
    --disabled-bg: rgba(189, 195, 199, 0.3);
    --disabled-text: #7f8c8d;
    --disabled-border: rgba(189, 195, 199, 0.5);
    
    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-green: 0 4px 12px rgba(76, 175, 80, 0.3);
    --shadow-yellow: 0 4px 12px rgba(255, 193, 7, 0.2);
    
    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Dellarobia BT', 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-white) 50%, var(--primary-gray) 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--accent-yellow-light);
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    z-index: 1000;
    position: relative;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    padding: 8px 16px;
    border-radius: var(--radius-small);
    cursor: pointer;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-white);
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-title {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.card-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--accent-yellow-light);
    border-radius: var(--radius-medium);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: var(--disabled-bg);
    color: var(--disabled-text);
    cursor: not-allowed;
    border-color: var(--disabled-border);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-medium);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--primary-white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #ffb300 100%);
    color: var(--text-primary);
    box-shadow: var(--shadow-yellow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn:disabled {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    color: var(--disabled-text);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Message Styles */
.message {
    padding: 12px;
    border-radius: var(--radius-medium);
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.message-success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.message-error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

.message-warning {
    background: var(--warning-bg);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

/* List Styles */
.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: all var(--transition-normal);
}

.feature-list li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.feature-list i {
    color: var(--accent-green);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    transition: all var(--transition-normal);
}

.feature-list li:hover i {
    color: var(--accent-green-dark);
    transform: scale(1.1);
}

/* Announcement Styles */
.announcements {
    background: var(--accent-yellow-light);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.announcements h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.announcements h3 i {
    margin-right: 10px;
    color: var(--accent-yellow);
}

.announcement-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: var(--radius-small);
    border-left: 4px solid var(--accent-yellow);
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-yellow);
}

.announcement-item:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* Global responsive helpers */
img { max-width: 100%; height: auto; }

/* Make tables scrollable on small screens */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }

/* Stack grids/rows on mobile */
@media (max-width: 576px) {
    .d-flex { flex-direction: column; }
    .btn { width: 100%; margin-bottom: 0.5rem; }
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 1rem; }
}





