/* ================================================
   Result Management System - Styling
   ================================================ */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Global Styles */
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animated Background */
.animated-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Styles */
.card {
    border-radius: 25px !important;
    border: none;
}

/* Header Card */
.header-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.graduation-icon {
    font-size: 80px;
}

.date-badge {
    display: inline-block;
    padding: 10px 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* Search Card */
.search-card {
    background: white;
}

.search-icon {
    font-size: 60px;
}

/* Radio Buttons */
.form-check-input {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    cursor: pointer;
}

/* Search Input */
.search-input .input-group-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 1.5rem;
    border-radius: 15px 0 0 15px;
}

.search-input .form-control {
    border: none;
    border-radius: 0 15px 15px 0;
    font-size: 1.3rem;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-input .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Search Button */
.btn-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Result Header */
.result-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px 25px 0 0;
}

.award-icon {
    font-size: 60px;
}

/* Info Cards */
.info-card {
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.info-card-1 {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.info-card-2 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.info-card-3 {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.info-card-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    flex-shrink: 0;
}

/* Subject Table */
.subject-table {
    border-radius: 15px;
    overflow: hidden;
}

.subject-table thead tr {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.subject-table thead th:first-child {
    border-radius: 15px 0 0 0;
}

.subject-table thead th:last-child {
    border-radius: 0 15px 0 0;
}

.subject-table tbody tr {
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.subject-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

/* GPA Badges */
.badge-gpa {
    font-size: 1.1rem;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 10px;
}

.badge-excellent {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.badge-very-good {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-good {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.badge-satisfactory {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

/* Print Button */
.btn-print {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.btn-print:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
    color: white;
}

/* Print Styles */
@media print {
    .animated-bg {
        background: white !important;
    }
    .no-print {
        display: none !important;
    }
    .card {
        box-shadow: none !important;
        border: 2px solid #667eea !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2rem !important;
    }
    .display-5 {
        font-size: 1.5rem !important;
    }
    .graduation-icon {
        font-size: 50px;
    }
    .search-icon {
        font-size: 40px;
    }
}