/* ============================================
   PTJM COLLEGE RAJGIR - BLUE THEME v2.0
   TOP BLUE + WHITE CONTENT - CLEAN VERSION
============================================ */

/* 1. RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Arial', sans-serif; 
    background: #f8f9ff;
    color: #000; 
    min-height: 100vh;
}

/* 2. HEADER (BLUE TOP) */
.header { 
    background: linear-gradient(135deg, #0000FF, #1a1aff, #0000AA); 
    color: white; 
    text-align: center; 
    padding: 20px; 
    box-shadow: 0 5px 20px rgba(0,0,255,0.3);
}
.logo { 
    width: 80px; height: 80px; 
    border-radius: 50%; 
    border: 3px solid white; 
}
.header h1 { 
    font-size: 28px; 
    margin: 10px 0; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}
.header small { 
    font-size: 14px; 
    opacity: 0.9; 
}

/* 3. NAVIGATION (BLUE MENU) */
nav { 
    background: linear-gradient(90deg, #0000AA, #0000FF, #1a1aff); 
    padding: 12px; 
    text-align: center; 
    box-shadow: 0 2px 10px rgba(0,0,255,0.2);
}
nav a { 
    color: white; 
    font-weight: bold; 
    margin: 0 20px; 
    text-decoration: none; 
    padding: 8px 16px; 
    border-radius: 20px; 
    transition: all 0.3s;
}
nav a:hover, nav a.active { 
    background: rgba(255,255,255,0.2); 
    transform: scale(1.05);
}

/* 4. MAIN CONTENT (WHITE) */
.container { 
    max-width: 1000px; 
    margin: 30px auto; 
    padding: 30px; 
    background: white;
    border-radius: 20px; 
    box-shadow: 0 8px 30px rgba(0,0,255,0.1);
}
h2 { 
    color: #0000FF; 
    text-align: center; 
    margin-bottom: 25px; 
    font-size: 26px; 
}

/* 5. BUTTONS */
button, .download-btn, .btn { 
    background: linear-gradient(135deg, #0000FF, #1a1aff); 
    color: white; 
    padding: 15px 30px; 
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-block; 
    margin: 10px 5px; 
    font-weight: bold; 
    font-size: 16px; 
    transition: all 0.3s; 
    box-shadow: 0 4px 15px rgba(0,0,255,0.3);
}
button:hover, .download-btn:hover, .btn:hover { 
    background: linear-gradient(135deg, #0000AA, #0000FF); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(0,0,255,0.4);
}

/* 6. FORM STYLES */
.admission-form { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: bold;
    color: #0000AA;
    margin-bottom: 5px;
    font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #0000FF;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9ff;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a1aff;
    box-shadow: 0 0 12px rgba(0,0,255,0.3);
    outline: none;
    background: white;
}
.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }
.form-actions { text-align: center; margin-top: 30px; }
.form-actions button { width: 100%; padding: 18px; font-size: 18px; }
.row { display: flex; gap: 15px; }
.row input { flex: 1; }

/* 7. ADMIN TABLE */
table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
}
th, td { 
    border: 2px solid #0000FF; 
    padding: 12px; 
    text-align: left; 
}
th { 
    background: linear-gradient(135deg, #0000FF, #1a1aff);
    color: white;
    font-weight: bold; 
    font-size: 15px;
}
tr:nth-child(even) { background: #f0f8ff; }
tr:hover { background: #e6f3ff; }

/* 8. LOGIN PAGE */
.login-box { 
    background: linear-gradient(145deg, rgba(230,230,255,0.95), rgba(176,196,222,0.9)); 
    border: 3px solid #0000FF; 
}
.login-container { 
    background: linear-gradient(135deg, #0000FF, #1a1aff); 
}

/* 9. PRINT STYLES (GENERAL) */
@media print { 
    body { background: white !important; }
    nav, .btn, .download-btn, h2 { display: none !important; }
    .container { box-shadow: none !important; margin: 10px !important; }
}

/* 10. RESPONSIVE */
@media (max-width: 768px) {
    .row, .form-row { flex-direction: column; }
    .form-row { gap: 0; }
    .container { margin: 10px; padding: 20px; }
}
