﻿.success-student-header {
    position: relative;
    height: 320px;
    background: linear-gradient(180deg, rgba(97, 255, 115, 0.48) 0%, #ffffff 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.08);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

.success-student-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 L300 100 L300 0 L0 100 Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    opacity: 0.2;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.success-header-title {
    color: #065f46;
    font-size: 2.4rem;
    font-weight: 800;
}

.success-header-subtitle {
    color: #047857;
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.success-celebration-image {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    opacity: 0.10;
}

.success-batch-dropdown {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.success-batch-dropdown:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.success-student-card {
    border: 1px solid #d1fadf;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.success-student-card:hover {
    background-color: #ecffef;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.success-photo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.success-photo {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.success-batch {
    background-color: #16a34a;
    color: #fff;
    font-weight: 600;
    position: absolute;
    bottom: -8px;
    left: 4px;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.success-dept {
    background-color: #ffc107;
    color: white;
}

.success-name {
    color: #0f172a;
    letter-spacing: -0.02em;
}

.success-institute,
.success-meta {
    color: #475569;
}


/* Pagination Container */
#studentsTable_paginate .pagination {
    justify-content: center;
    margin-top: 20px;
}

#studentsTable_paginate .pagination .page-item .page-link {
    color: #065f46;
    background-color: #ffffff;
    border: 1px solid #d1fadf; 
    border-radius: 8px;
    margin: 0 4px;
    padding: 6px 14px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

#studentsTable_paginate .pagination .page-item .page-link:hover {
    background-color: #ecffef; 
    border-color: #16a34a; 
    color: #065f46;
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

#studentsTable_paginate .pagination .page-item.active .page-link {
    background-color: #16a34a; 
    border-color: #16a34a;
    color: white !important;
    font-weight: 700;
    box-shadow: 0px 4px 12px rgba(22, 163, 74, 0.3);
}

#studentsTable_paginate .pagination .page-item.disabled .page-link {
    background-color: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

#studentsTable_paginate {
    margin-bottom: 35px;
}

/* Beautify & center DataTables "Processing" message */
.dataTables_processing {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 8px;
    color: #065f46;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #d1fadf;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
