/* Base Styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
color: #fff;
background: linear-gradient(135deg, #6f42c1, #6610f2);
}

/* Hero Section */
.hero-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}

.hero-title {
font-size: 2rem;
font-weight: 700;
line-height: 1.3;
margin-bottom: 2rem;
color: #f0f2f5;
text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
font-size: 1.2rem;
margin-bottom: 2.5rem;
text-shadow: 1px 1px 6px rgba(0,0,0,0.2);
}

.hero-footer {
position: absolute;
bottom: 20px;
font-size: 0.9rem;
opacity: 0.7;
}

/* Buttons */
.btn-hero {
border-radius: 50px;
padding: 0.8rem 1.5rem;
font-size: 1rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Form Container */
.form-container {
display: flex;
justify-content: center;
align-items: center;    /* perfect vertical center */
background: linear-gradient(135deg, #6f42c1, #6610f2);
color: #fff;
padding: 0;             /* less outer padding for compactness */
}

/* Dashboard Center Box */
.form-card {
color: #000;
border-radius: 18px;          /* Smoother rounding */
width: 100%;
max-width: 600px;             /* Increased from 400px for large dashboard */
padding: 32px 38px;           /* More space inside for summary */
background: #fff;             /* Clean white box */
box-shadow: 0 8px 32px rgba(80, 34, 177, 0.10); /* Slight purple shadow */
margin-top: 48px;
margin-bottom: 48px;
}

/* Dashboard summary small boxes */
.card-rounded {
border-radius: 14px;
background: #fafafa;
box-shadow: 0 2px 12px rgba(120,80,200,0.07);
border: none;
min-width: 140px;
}

.card-rounded h6 {
font-size: 0.95rem;
color: #4b339a;
margin-bottom: 0.5rem;
font-weight: 600;
}

.card-rounded h3 {
font-size: 1.6rem;
color: #3b2576;
font-weight: 700;
}

/* Button styles for dashboard */
.btn-primary.btn-hero {
background-color: #1877F2;
color: #fff;
border: none;
}

.btn-secondary.btn-hero {
background-color: #52545a;
color: #fff;
border: none;
}

.btn-hero {
border-radius: 10px;
padding: 0.6rem 2rem;
font-size: 1.09rem;
margin-right: 0.5rem;
}

.dashboard-header {
color: #2c3e50; /* example: dark blue-gray */
}


/* Only for register/login forms */
.auth-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #6f42c1, #6610f2);
color: #fff;
padding: 0;
}

.auth-card {
color: #000;
border-radius: 12px;
width: 100%;
max-width: 500px;
padding: 16px 12px;      /* Adjust for compactness */
background: #fffbfb;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Optional: Reduce vertical margin if needed */
.auth-card .mb-3 {
margin-bottom: 0.75rem !important;
}

.auth-card .form-label {
font-weight: 500;
}
.auth-card input.form-control {
border-radius: 8px;
}
.auth-card a {
color: #000;
font-weight: 500;
}


/* Optional: Slightly reduce margins in form fields */
.form-card .mb-3 {
margin-bottom: 0.75rem !important;
}



.form-card .form-label {
font-weight: 500;
}

.form-card input.form-control {
border-radius: 8px;
}

.form-card a {
color: #000;
font-weight: 500;
}

.card-vertical-margin {
margin-top: 12px;      /* Reduce these or remove entirely */
margin-bottom: 12px;
}


.sidebar {
width: 250px;
background: linear-gradient(180deg, #6f42c1, #6610f2);
color: #fff;
min-height: 100vh;
position: fixed;
left: 0;
top: 0;
padding-top: 20px;
}

.sidebar-header h4 {
font-size: 1.5rem;
font-weight: 700;
color: #fff;
}

.sidebar .nav-link {
color: #fff;
font-weight: 500;
margin: 8px 0;
padding: 10px 15px;
border-radius: 8px;
transition: background 0.3s, transform 0.2s;
}

.sidebar .nav-link:hover {
background: rgba(255, 255, 255, 0.937);
transform: translateX(5px);
text-decoration: none;
}

.nav-link:focus, .nav-link:hover {
color: #dc3545;
}

/* Main Content */
.content {
margin-left: 250px; /* same width as sidebar */
background: #f0f2f5;
min-height: 100vh;
}

/* Cards (Dashboard) */
.card {
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
padding: 20px;
background-color: #fff;
color: #000;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.bg-page {
background: #f0f2f5;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.verify-card {
background: linear-gradient(135deg, #6f42c1, #6610f2);
border-radius: 18px;
box-shadow: 0 8px 32px rgba(80, 34, 177, 0.10);
padding: 32px 38px;
width: 100%;
max-width: 1100px;
margin: 24px auto;
}

.bg-purple {
background-color: #5c2d91 !important;
}
.text-white {
color: #fff !important;
}
.table th, .table td {
vertical-align: middle;
font-size: 14px;
}
.vetting-notice {
background: #e7f3fe;
color: #2176bd;
border: 1px solid #b3e5fc;
border-radius: 4px;
padding: 8px 12px;
margin-bottom: 8px;
font-size: 0.97rem;
}
.text-muted {
background: #e7f3fe;
color: #2176bd;
border: 1px solid #b3e5fc;
border-radius: 4px;
padding: 8px 12px;
margin-bottom: 8px;
font-size: 0.97rem;
}

/* Pagination styles */
.pagination {
display: flex;
justify-content: center;
gap: 6px;
margin-top: 16px;
list-style: none;
}

.pagination li {
display: inline-block;
}

.pagination .page-link {
display: inline-block;
padding: 6px 12px;
color: #5c2d91;           /* purple text */
background-color: #fff;   /* white background */
border: 1px solid #ddd;
border-radius: 6px;
font-size: 14px;
transition: all 0.2s ease;
text-decoration: none;
}

.pagination .page-link:hover,
.pagination .active .page-link {
background-color: #0d6efd; /* purple background */
color: #fff;              /* white text */
border-color: #0d6efd;
}

/* Common label style */
.form-container label,
.verify-card label {
    color: #1f618d;       /* Change to any color you like */
    font-weight: 600;     /* Semi-bold */
    display: block;       /* Makes label take full width */
    margin-bottom: 5px;   /* Space between label and input */
    font-size: 0.95rem;   /* Slightly smaller than default */
}

/* Optional: style required fields with a red star */
.form-container label::after,
.verify-card label::after {
    content: "*";
    color: red;
    margin-left: 2px;
}

.form-control[type=file]:not(:disabled):not([readonly]) {
cursor: pointer;
margin-bottom: 5px;
}
/* Refined card shadow for Allotted Modules (Purple theme) */
.card-rounded {
    border-radius: 14px;
    background: #fafafa;
    border: none;
    min-width: 140px;

    /* Updated shadow */
    box-shadow: 
        0 6px 18px rgba(106, 17, 203, 0.45),
        0 3px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Optional: Hover glow effect */
.card-rounded:hover {
    box-shadow: 
        0 8px 24px rgba(106, 17, 203, 0.55),
        0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}
