﻿/* Color Palette */
/* ===== Top Navbar ===== */
 

:root {
    --color-dark-blue: #1F4788;
    --color-mid-blue: #3E72B5;
    --color-light-blue: #9DC3E6;
    --color-accent-blue: #6DA7D9;
    --color-white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;  /* Hide LEFT-RIGHT scroll */
    overflow-y: auto;    /* Allow UP-DOWN scroll */
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    
}

/* Make wrapper full screen */
.login-form-wrapper {
    width: 100%;
    height: 100dvh;   /* full visible height on mobile */
    padding: 0;       /* remove top gap */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;   /* perfectly center the card */
    background: #f0f0f0;   /* optional */
}



/* --- Login Container --- */
.login-container {
    width: 375px;
    max-width: 100%;
    height: 667px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* --- Card Video Background --- */
.card-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 20px;
}

/* Make sure all content is above video */
.login-container > *:not(.card-bg-video) {
    position: relative;
    z-index: 2;
}

/* --- Sky Section --- */
.sky-section {
    position: relative;
    width: 100%;
    height: 55%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* center the logo vertically */
    padding: 20px;
    padding-bottom: 0;
    color: #212b59;
    text-align: center;
}

/* Logo styling */
.sky-logo {
    max-width: 250px; /* adjust as needed */
   height: 67px;
    z-index: 2; /* above the curved divider */
    
}

/* White Curved Divider */
.sky-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: 1;
    background: #ffffff; /* keep the divider visible */
}




/* Welcome Text */
.welcome-text {
    font-size: 3em;
    font-weight: 700;
    margin-top: 20px;
    letter-spacing: 2px;
}

/* --- Login Form --- */
.login-form {
    width: 100%;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: -117px; /* Pull up over curved divider */
}

/* Input Groups */
.input-group {
    width: 100%;
    background-color: var(--color-white);
    border-radius: 25px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.input-group .icon {
    color: #212b59;
    margin-right: 15px;
    font-size: 1.2em;
}

.input-group input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 1em;
    color: #333;
    background: transparent;
}
.input-group input::placeholder {
    color: #aaa;
}

/* Login Button */
.login-btn {
    width: 80%;
    background: #212b59;
    color: var(--color-white);
    border: none;
    padding: 15px 0;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.login-btn:hover {
    background: var(--color-mid-blue);
    box-shadow: 0 7px 15px rgba(0,0,0,0.3);
}

/* Forgot Password */
.forgot-password {
    color: var(--color-dark-blue);
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 10px;
}


/* ================================
   FULL RESPONSIVE MEDIA QUERIES
   FOR YOUR LOGIN DESIGN (375×667)
================================ */

/* VERY SMALL PHONES — 320px */
@media (max-width: 320px) {
    .login-container {
        width: 300px;
        height: 580px;
    }
    .sky-logo {
        max-width: 170px;
    }
    .login-form {
        margin-top: -80px;
    }
}

/* SMALL PHONES — 360px */
@media (max-width: 360px) {
    .login-container {
        width: 335px;
        height: 600px;
    }
    .sky-logo {
        max-width: 190px;
    }
    .login-form {
        margin-top: -95px;
    }
}

/* STANDARD PHONES — 375px (BASE DESIGN) */
@media (max-width: 375px) {
    .login-container {
        width: 355px;
        height: 630px;
    }
}

/* MID PHONES — 390px (iPhone 12/13/14) */
@media (max-width: 390px) {
    .login-container {
        width: 365px;
        height: 650px;
    }
}

/* LARGE PHONES — 414px / 430px (Pro Max / Samsung Ultra) */
@media (max-width: 430px) {
    .login-container {
        width: 390px;
        height: 700px;
    }
}

/* ================================
   HEIGHT-BASED FIXES
================================ */

/* VERY SMALL HEIGHT — max-height: 568px */
@media (max-height: 568px) {
    .login-container {
        height: 520px;
    }
    .login-form {
        margin-top: -70px;
    }
}

/* SMALL HEIGHT — max-height: 667px */
@media (max-height: 667px) {
    .login-container {
        height: 580px;
    }
    .login-form {
        margin-top: -80px;
    }
}

/* MEDIUM HEIGHT — max-height: 812px */
@media (max-height: 812px) {
    .login-container {
        height: 630px;
    }
}

/* MID LARGE HEIGHT — max-height: 896px */
@media (max-height: 896px) {
    .login-container {
        height: 670px;
    }
}

/* EXTRA TALL HEIGHT — 932px (iPhone 15 Pro Max) */
@media (max-height: 932px) {
    .login-container {
        height: 720px;
    }
}












         











/* ===== HAMBURGER ===== */
.hamburger {
  display: block;
  position: fixed;
  top: 15px;
  left: 20px;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
  z-index: 1100;
}

.close-btn {
  margin-left: auto;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #d1c4e9;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-left: 250px;
  padding: 80px 20px;
  transition: margin-left 0.3s ease;
}

body.sidebar-closed .main-content {
  margin-left: 0;
}

@media (max-width: 768px) {
  .sidebar-container {
    transform: translateX(-260px);
  }
  .sidebar-container.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    padding-top: 80px;
  }
}

/* ===== DASHBOARD CARDS ===== */
/* Dashboard cards in a single row */
.dashboard {
    display: flex;
    flex-direction: row; /* row instead of column */
    flex-wrap: wrap; /* wrap on smaller screens */
    gap: 20px; /* space between cards */
    max-width: 1000px;
    margin: auto;
    justify-content: space-between; /* spread evenly */
}

.card {
    flex: 1 1 220px; /* grow, shrink, base width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(145deg, #555, #222);
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.4),
                -8px -8px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 220px; /* ensures cards are not too small */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.5),
                -12px -12px 25px rgba(255, 255, 255, 0.1);
}

/* Cards Row Flex */
.cards-row {
  display: flex;
  gap: 20px; /* space between cards */
  flex-wrap: wrap; /* wraps to next line on small screens */
  margin-top: 20px;
}

/* Card Flex Content */
.card-info {
  display: flex;
  align-items: center;
  gap: 10px; /* space between icon and text inside card */
}






.card-blue {
  background: linear-gradient(145deg, #212b59, #003fa3);
}
.card-orange {
  background: linear-gradient(145deg, #f18717, #c7620e);
}
.card-darkblue {
  background: linear-gradient(145deg, #000f96, #4f83ab);
}
.card-green {
  background: linear-gradient(145deg, #28a745, #1e7e34);
}

/* ===== PROFILE CARD ===== */
.profile-card {
    background-color: #212b59;
    color: white;
    padding: 20px;
    width: 946px;
    margin: 20px auto;
    text-align: center;
    border-radius: 8px;
    margin-left: 1px;
}
.profile-image-container {
  width: 100px;
  height: 100px;
  background-color: #f0f8ff;
  border: 5px solid #add8e6;
  border-radius: 5px;
  margin: 0 auto 20px;
}

.info-line {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

/* ===== FOOTER NAV ===== */
.footer-nav {
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 10px 0;
  z-index: 999;
}

.nav-links-list {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.nav-item-link a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000000;
  font-size: 12px;
}

.icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.nav-item-link.active-link a {
  color: #4f83ab;
  font-weight: bold;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Medium screens: tablets, small desktops */
@media (max-width: 1024px) {
  /* Dashboard cards wrap nicely */
  .dashboard,
  .cards-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .card {
    flex: 1 1 45%; /* adjust width to ~half screen */
    max-width: 45%;
    min-width: 220px;
  }

  /* Navbar adjustments */
  .top-navbar {
    padding: 0 20px;
  }

  .main-content {
    margin-left: 0; /* let it be full width on smaller screens */
  }
}

/* Small screens: mobile */
@media (max-width: 768px) {
  /* Stack cards vertically */
  .dashboard,
  .cards-row {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Profile card width */
  .profile-card {
    width: 90%;
    margin: 20px auto;
  }

  /* Navbar stacked */
  .top-navbar {
    flex-direction: column;
    padding: 0px 15px;
  }
}

/* Extra small screens: very small mobiles */
@media (max-width: 480px) {
  .card {
    padding: 15px;
    font-size: 16px;
  }

  .icon {
    font-size: 20px;
  }

  .nav-item-link a {
    font-size: 10px;
  }

  .profile-image-container {
    width: 80px;
    height: 80px;
  }

  .info-line {
    font-size: 14px;
  }
}


















/* --- Main Content Container (3D Look Added) --- */
.container {
    padding: 45px;
     background: #ffffff;
     width: 1665px;
     
}

/* --- Main Content Container (Top-Aligned, No Bottom Gap) --- */
.container1 {
    padding: 45px;
    background: #ffffff;
    width: 1665px;
    margin: 0 auto;       /* Centers container horizontally */
    margin-top: 0;        /* Removes gap from top */
    margin-bottom: 420px;     /* Removes gap from bottom */
    position: relative;
    top: 0;               /* Ensures container starts from top */
}



.registration-box {
   background-color: white;
  padding: 15px 30px 30px;
  border: 1px solid #b3b3b3;
  max-width: 1100px;
  margin: 20px auto; /* Centers horizontally */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
              0 10px 20px rgba(0, 0, 0, 0.15),
              0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
}

.registration-box h1 {
    font-size: 23px;
    font-weight: 800;
    color: #212b59;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 20px;
    text-align: center;
    
    /* 3D text shadow */
    text-shadow: 
        2px 2px 0 #b3b3b3,
        4px 4px 6px rgba(0,0,0,0.2),
        0 0 5px rgba(255,255,255,0.6);
}


/* --- Form Grid Layout --- */
.form-grid {
    display: flex;
    gap: 40px;
}

.column {
    flex: 1;
}

/* Form Group Styling */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}

/* Label width adjustment for both columns to maintain alignment */
.left-col .form-group label {
    flex-basis: 180px;
    min-width: 180px;
    text-align: right;
    padding-right: 10px;
    color: #000000;
    text-shadow: 1px 1px 0 #fff;
}

.right-col .form-group label {
    flex-basis: 150px;
    min-width: 150px;
    text-align: right;
    padding-right: 10px;
    color: #000000;
    text-shadow: 1px 1px 0 #fff;
}



    
.mGrid
{
    margin: 5px 0 10px 0;
    border: 1px solid #CCCCCC;  
    padding: 4px 3px;
    border-collapse:collapse;
    color:Black;
    
}  
	
.mGrid td {   
font-family: Times New Roman;
font-size:14px; 
border:solid 1px #CCCCCC;
font-weight: normal;
padding:6px 5px 6px 5px;
text-transform:capitalize;
    border-collapse:collapse;
}
  
.mGrid th
{
    background-color: #192f4e;
background-repeat:repeat-x;
/*background-color:#eae9e6;*/
font-family: Times New Roman;
font-size:16px;
color: #fff;
font-weight: normal;
padding:7px 5px 6px 5px;
text-transform:uppercase;
text-align:center;
border-collapse:collapse;
border:solid 1px #CCCCCC;
} 

.mGrid th a {      
    color: #fff /*#242f06*/;           
    font-size:16px;
	text-decoration:none;
	padding:4px 0px 0px 0px;
	text-transform:uppercase;
    border-collapse:collapse;
}  

.mGrid .alt td  
{
    /*padding: 4px 3px;*/   
    border: solid 1px #CCCCCC;  
    background-color:/*#F0F0F0*/#d7e8ff;
    border-collapse:collapse;   
}  
.mGrid .ftr { background: #569a35 url(grd_head.png) repeat-x top; font-weight:bold; border-width:0px; color:White; }  
.mGrid .pgr { background: #569a35 url(grd_pgr.png) repeat-x top; }  
.mGrid .pgr table { margin: 5px 0; }  
.mGrid .pgr td
{
    border-width: 0;
    padding: 0 6px;
    border-left: solid 1px #666;
    font-weight: bold;
    background: #569a35 url(grd_pgr.png) repeat-x top;
    color: White;
    line-height: 12px;
    text-align: center;
    float: none;
    border-style: solid;
    border-color: #000000;
    border-collapse:collapse;
    
}     
.mGrid .pgr a { color: #666; text-decoration: none; }  
.mGrid .pgr a:hover { color: #000; text-decoration: none; }





input[type="text"],input[type="date"], select {
    flex-grow: 1;
    padding: 5px 8px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 13px;
    max-width: 250px;
    /* Input field 3D effect (Deep inset) */
    background-color: #fcfcfc;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2); 
}

input[value="0"], input[readonly] {
    background-color: #eee;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- File Upload Group Styling --- */
.file-upload-group {
    align-items: flex-start;
    margin-bottom: 15px;
}

.file-controls {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.hidden-file-input {
    display: none;
}

.file-label {
    background-color: #f0f0f0;
    border: 1px solid #aaa;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* File Label 3D Effect (Slight inset) */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.upload-btn {
    /* ORIGINAL COLOR: #2e8b57 */
    background: #212b59;

    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
    font-size: 13px;
    text-transform: uppercase;
    /* Button 3D Effect */
    border-bottom: 3px solid #212b59;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
    transition: all 0.1s ease;
}

.view-photo-btn {
    /* ORIGINAL COLOR: #4a90e2 */
    background: #0191ff;

    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
    font-size: 13px;
    text-transform: uppercase;
    /* Button 3D Effect */
    border-bottom: 3px solid #0191ff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
    transition: all 0.1s ease;
}

.upload-btn:hover, .view-photo-btn:hover {
    opacity: 1;
    /* Pressed 3D Effect */
    transform: translateY(1px);
    border-bottom-width: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Nominee Details Section */
.nominee-details {
    margin-top: 30px;
    /* Slight inset shadow for the dividing line */
    border-top: 1px solid #ddd;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    padding-top: 10px;
}

.nominee-details h2 {
    font-size: 18px;
    font-weight: 500;
    color: #444;
    margin-bottom: 15px;
    text-shadow: 1px 1px 0 #fff;
}




/* --- Save Button Section (Below Form) --- */
.form-actions {
    text-align: center;
    margin: 17px auto 36px;
}
@media (max-width: 767px) {
    .form-actions {
        text-align: center;
        margin: 10px auto 36px; /* you can adjust */
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .form-actions {
        text-align: center;
        margin: 14px auto 36px; /* adjust as needed */
    }
}

.save-btn 
{
    width: 100px;
    background: #212b59;
    color: #fff;
    border: none;
    padding: 12px 0px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 4px solid #212b59;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    transition: all 0.2s ease-in-out;
}

/* Hover & Active Effects */
.save-btn:hover {
    background: #0191ff;
    border-bottom-color: #0191ff;
    transform: translateY(2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.save-btn:active {
    transform: translateY(3px);
    border-bottom-width: 2px;
}








/* Tablets (width <= 1024px) */
@media (max-width: 1024px) {

    .form-grid {
        flex-direction: column;
        gap: 20px;
    }

    .left-col .form-group label,
    .right-col .form-group label {
        flex-basis: 130px;
        min-width: 130px;
        text-align: right;
    }

    input[type="text"], input[type="date"], select {
        max-width: 100%;
    }

    .registration-box {
        padding: 15px 20px 25px;
        max-width: 95%;
        margin-left: 0;
    }
}

/* Small Tablets / Large Phones (width <= 768px) */
@media (max-width: 768px) {

    .form-grid {
        flex-direction: column;
        gap: 15px;
    }

    .left-col .form-group label,
    .right-col .form-group label {
        flex-basis: 120px;
        min-width: 120px;
        text-align: left;
    }

    input[type="text"], input[type="date"], select {
        max-width: 100%;
    }

    .registration-box {
        padding: 12px 15px 20px;
        max-width: 95%;
        margin-left: 0;
    }

    .file-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .view-photo-btn {
        margin-left: 0;
        width: 54%;
        text-align: center;
    }
}

/* Mobile Devices (width <= 480px) */
@media (max-width: 480px) {

    .form-grid {
        flex-direction: column;
        gap: 10px;
    }

    .left-col .form-group label,
    .right-col .form-group label {
        flex-basis: 100px;
        min-width: 100px;
        text-align: left;
        padding-right: 5px;
    }

    input[type="text"], input[type="date"], select {
        width: 100%;
    }

    .registration-box {
        padding: 10px 10px 15px;
        max-width: 100%;
        margin-left: 0;
    }

    .user-actions {
        font-size: 12px;
    }
}






 

/* 2. Target the main content container */
/* Your .container class is likely too wide and preventing centering.
   We must override its fixed width on mobile screens. */
@media (max-width: 1024px) {
    .container {
        /* CRITICAL: Override the desktop width of 1665px */
        width: 100% !important; 
        padding: 8px; /* Remove horizontal padding on smallest screens if needed */
        margin: 0 auto; /* Keep it centered */
    }
    .container1 {
        /* CRITICAL: Override the desktop width of 1665px */
        width: 100% !important; 
        padding: 0; /* Remove horizontal padding on smallest screens if needed */
        margin: 0 auto; /* Keep it centered */
    }
    /* Ensure the registration box itself is centered and full width */
    .registration-box {
        max-width: 95%; 
        margin-left: auto; /* Override the fixed 372px margin */
        margin-right: auto;
    }
    
    /* Ensure the body or the top element still centers the registration box */
    body {
        justify-content: center; 
        align-items: flex-start;
        padding-top: 55px; /* Adjust for fixed top bar */
    }
}
/* === Profile Container === */
.profile-container {
  background: #f5f7fa;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* === Profile Box === */
.profile-box {
  background: #fff;
  width: 100%;
  max-width: 950px;
  border-radius: 10px;
  border: 1px solid #e0e3eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 40px 50px;
  font-family: "Segoe UI", sans-serif;
}

/* === Headings === */
.profile-box h1 {
  font-size: 26px;
  color: #1a237e;
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
  border-bottom: 3px solid #1a237e;
  display: inline-block;
  padding-bottom: 5px;
}

.profile-box h2 {
  background: #e8ecf9;
  border-left: 5px solid #1a237e;
  padding: 10px 15px;
  color: #1a237e;
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 15px;
  border-radius: 6px;
}

/* === Info Grid === */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 40px;
  margin-bottom: 15px;
}

.info-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fafbff;
  border: 1px solid #e1e5ee;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.info-block:hover {
  background: #f3f6ff;
}

.info-block label {
  width: 45%;
  font-weight: 600;
  color: #333;
}

.label-value {
  flex: 1;
  color: #222;
  font-weight: 500;
}

/* === Table Grid (if used) === */
.profile-gridview {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
}

.profile-gridview th {
  background: #1a237e;
  color: #fff;
  padding: 8px;
  text-align: left;
}

.profile-gridview td {
  padding: 8px;
  border-bottom: 1px solid #d9dce4;
}

.profile-gridview tr:nth-child(even) {
  background: #f5f7ff;
}

/* === Modal Popup (if any) === */





 .modalBackground
        {
            background-color: Black;
            filter: alpha(opacity=40);
            opacity: 0.6;
        }
        .modalPopup
        {
			height:auto;
			overflow:scroll;
            background-color: #FFFFFF;
            width: 940px;
            border: 0px solid #333;
			padding:39px 0px 22px 0px;
			border-radius:8px;
        }
        .modalPopup .header
        {
            background-color: #2FBDF1;
            height: 30px;
            color: White;
            line-height: 30px;
            text-align: center;
            font-weight: bold;
        }
        .modalPopup .body
        { 
			/*height:400px;
			overflow:scroll;*/
            line-height: 30px;
            text-align: center;
            padding:5px
        }
        .modalPopup .footer
        {
            padding: 3px;
        }
        .modalPopup .button
        {
            height: 23px;
            color: White;
            line-height: 23px;
            text-align: center;
            font-weight: bold;
            cursor: pointer;
            background-color: #9F9F9F;
            border: 1px solid #5C5C5C;
        }
        .modalPopup td
        {
            text-align:left;
        }
		.close_font
		{
			margin:-33px -580px 0px 0px;
            cursor: pointer;
			width:24px;
			font-size:22px;
		}























.modal-bg {
  background-color: rgba(0, 0, 0, 0.6);
}

.popup-box {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  border: 2px solid #1a237e;
  width: 80%;
  max-width: 900px;
  margin: auto;
}

.popup-close {
  text-align: right;
  margin-bottom: 10px;
}

.popup-close img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.popup-close img:hover {
  transform: scale(1.2);
}

/* === Responsive === */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .profile-box {
    padding: 20px;
  }

  .info-block label {
    width: 40%;
  }
}



/* === PRINT EXACTLY LIKE SCREEN (A4) === */
@media print {
  body * {
    visibility: hidden; /* Hide everything */
  }

  .profile-container, 
  .profile-container * {
    visibility: visible; /* Show only profile section */
  }

  .profile-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 210mm;    /* A4 width */
    min-height: 297mm; /* A4 height */
    margin: 0;
    padding: 20mm;
    box-shadow: none;
    border: none;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    background: #f5f7fa !important; /* Keep background */
  }

  .profile-box {
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e0e3eb !important;
    padding: 40px 50px !important;
  }

  .profile-box h1,
  .profile-box h2,
  .info-block,
  .profile-gridview th,
  .profile-gridview tr:nth-child(even) {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Keep original layout proportions */
  html, body {
    width: 210mm;
    height: 297mm;
    margin: 0;
    padding: 0;
    background: #f5f7fa !important;
    overflow: visible !important;
  }

  @page {
    size: A4;
    margin: 10mm;
  }
}
.df-container {
    padding: 45px;
    background: #ffffff;
    width: 1665px;
}

.df-container1 {
    padding: 45px;
    background: #ffffff;
    width: 1665px;
    margin: 0 auto;
    margin-top: 0;
    margin-bottom: 420px;
    position: relative;
    top: 0;
}

/* MAIN BOX */
.df-registration-box {
    background-color: white;
    padding: 15px 30px 30px;
    border: 1px solid #b3b3b3;
    max-width: 1100px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
                0 10px 20px rgba(0, 0, 0, 0.15),
                0 20px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
}

.df-registration-box h1 {
    font-size: 23px;
    font-weight: 800;
    color: #212b59;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 
        2px 2px 0 #b3b3b3,
        4px 4px 6px rgba(0,0,0,0.2),
        0 0 5px rgba(255,255,255,0.6);
}

.df-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 25px;   /* Row gap 35px, Column gap 25px */
    width: 100%;
}


/* Group Alignment */
.df-form-group {
    display: grid;
    grid-template-columns: 129px 1fr;
    align-items: center;
    font-size: 13px;
    column-gap: 0px;
    margin-bottom : 20px;
}


/* Dropdown + Textbox style */
.df-input {
    width: 200px !important;
    padding: 6px 10px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 13px;
    background-color: #fcfcfc;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* For ASP label value */
.df-label-value {
    padding: 6px 10px;
    min-width: 200px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* VIEW link */
.df-lnkcss {
    margin-left: 10px;
    font-size: 12px;
    color: #212b59;
    font-weight: 600;
    text-decoration: underline;
}


/* Button */
.df-form-actions {
    text-align: center;
    margin: 17px auto 36px;
}

.df-save-btn {
    background: #212b59;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border-bottom: 4px solid #212b59;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .df-container,
    .df-container1 {
        width: 100% !important; 
        padding: 0;
        margin: 0 auto;
    }

    .df-registration-box {
        max-width: 95%;
    }

    .df-form-grid {
        grid-template-columns: 1fr;
    }
}

 




/*staffmember-----css*/






/* Container */
.container2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    
  
}

/* Form Box */
.registration2-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    width: 1000px;      /* Increased width */
    max-width: 113%;      /* Keep responsive on smaller screens */
    box-sizing: border-box;
}


.registration2-box h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    color: #333;
}

/* Form Grid: Two fields per row */
.form-grid2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row2 {
    display: flex;
    gap: 20px;
}

.form-group2 {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group2 label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.input2 {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* File Upload */
.file-upload-group2 .file-controls2 {
    display: flex;
    gap: 10px;
    align-items: center;
}

.upload-btn2 {
    padding: 6px 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.upload-btn2:hover {
    background-color: #0056b3;
}

/* Action Buttons */
.form-actions2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.save-btn2 {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background-color: #212b59;
    cursor: pointer;
}

.save-btn2:hover {
    background-color: #1e7e34;
}

.cancel-btn2 {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background-color: #dc3545;
    cursor: pointer;
}

.cancel-btn2:hover {
    background-color: #c82333;
}











/* ===========================
   TABLET (max-width: 992px)
   =========================== */
@media (max-width: 992px) {

    .registration2-box {
        width: 95%;
        max-width: 95%;
        padding: 20px;
    }

    .form-row2 {
        gap: 15px;
    }

    .input2 {
        font-size: 14px;
    }
}

/* ===========================
   MOBILE LANDSCAPE (max-width: 768px)
   =========================== */
@media (max-width: 768px) {

    
    .form-row2 {
        flex-direction: column; /* TWO FIELDS BECOME ONE UNDER THE OTHER */
    }

    .registration2-box {
        width: 100%;
        max-width: 100%;
        padding: 27px;
    }

    .form-group2 label {
        font-size: 14px;
    }

    .input2 {
        font-size: 14px;
        padding: 7px;
    }
}


/* ===========================
   MOBILE SMALL (max-width: 480px)
   =========================== */
@media (max-width: 480px) {

    .registration2-box h1 {
        font-size: 20px;
    }

    .form-row2 {
        flex-direction: column;
        gap: 10px;
    }

    .form-group2 label {
        font-size: 13px;
    }

    .input2 {
        font-size: 13px;
        padding: 6px;
    }

    .save-btn2,
    .cancel-btn2 {
        width: 100%;
        padding: 10px;
        font-size: 15px;
    }

    .form-actions2 {
        flex-direction: column;
        gap: 10px;
    }
}



 
.action-buttons .btn-change {
    background: none;       /* No background */
    border: none;           /* No border */
    color: #000;            /* Text color */
    padding: 8px 15px;
    cursor: pointer;
}

.action-buttons .btn-change:hover {
    background: none;       /* No hover background */
    color: #0056b3;         /* Only text color change */
}

.action-buttons .btn-logout {
    background: none;       /* No background */
    border: none;           /* No border */
    color: #000;            /* Text color */
    padding: 8px 15px;
    cursor: pointer;
}

.action-buttons .btn-logout:hover {
    background: none;       /* No hover background */
    color: #a71d2a;         /* Only text color change */
}

.action-buttons i {
    margin-right: 8px;
    font-size: 16px;
}


/* === Back Section === */
.back-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0 20px 20px;
}

/* Row Container */
.row-line {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;    /* <-- FIX PERFECT ALIGNMENT */
  padding-right: 20px;
}

/* Back Arrow */
.back-arrow {
  background-color: #212b59;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0 !important;      /* <-- REMOVE WRONG ALIGNMENT */
}

/* Hover Effect */
.back-arrow:hover {
  background-color: #0191ff;
  transform: translateX(-3px);
}

/* Home Icon */
.home-icon {
  background-color: #212b59;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 18px;
}

/* Member Name */
.member-name {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #212b59;
}


 @media (max-width: 600px){
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #16216A;     /* Navy blue – same as your theme */
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

.footer-item {
    color: white;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.footer-item:hover {
    opacity: 0.7;
}
}


/* ===========================
   CONTAINER
   =========================== */
.container3 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
    background-color: #f4f4f4; /* optional page background */
}

/* ===========================
   FORM BOX
   =========================== */
.registration3-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    width: 1000px;
    max-width: 113%;
    box-sizing: border-box;
}

.registration3-box h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    color: #333;
}

/* ===========================
   TWO COLUMN LAYOUT
   =========================== */
.form-columns3 {
    display: flex;
    gap: 30px;
}

.form-column3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===========================
   FORM GROUPS
   =========================== */
.form-group3 {
    display: flex;
    flex-direction: column;
}

.form-group3 label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

/* Apply uniform styling for all TextBox, DropDownList, FileUpload */
input[type="text"], input[type="password"], select, .file-label, textarea, .list_box {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
}

/* ===========================
   FILE UPLOAD GROUPS
   =========================== */
.file-upload-group3 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.file-controls3 {
    display: flex;
    gap: 10px;
    align-items: center;
}

.upload-btn3 {
    padding: 6px 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.upload-btn3:hover {
    background-color: #0056b3;
}

/* ===========================
   FORM ACTION BUTTONS
   =========================== */
.form-actions3 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.save-btn3, .save-btn4 {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background-color: #212b59;
    cursor: pointer;
}

.save-btn3:hover, .save-btn4:hover {
    background-color: #1e7e34;
}

.cancel-btn3, .cancel-btn4 {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background-color: #dc3545;
    cursor: pointer;
}

.cancel-btn3:hover, .cancel-btn4:hover {
    background-color: #c82333;
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
   =========================== */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .registration3-box {
        width: 95%;
        max-width: 95%;
        padding: 20px;
    }

    input[type="text"], input[type="password"], select, .file-label, textarea, .list_box {
        font-size: 14px;
    }

    .form-row3 {
        gap: 15px;
    }
}

/* Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
    .form-columns3 {
        flex-direction: column;
    }

    .form-row3 {
        flex-direction: column;
    }

    .registration3-box {
        width: 100%;
        max-width: 100%;
        padding: 27px;
    }

    .form-group3 label {
        font-size: 14px;
    }

    input[type="text"], input[type="password"], select, .file-label, textarea, .list_box {
        font-size: 14px;
        padding: 7px;
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .registration3-box h1 {
        font-size: 20px;
    }

    .form-row3 {
        flex-direction: column;
        gap: 10px;
    }

    .form-group3 label {
        font-size: 13px;
    }

    input[type="text"], input[type="password"], select, .file-label, textarea, .list_box {
        font-size: 13px;
        padding: 6px;
    }

    .save-btn3, .save-btn4, .cancel-btn3, .cancel-btn4 {
        width: 100%;
        padding: 10px;
        font-size: 15px;
    }

    .form-actions3 {
        flex-direction: column;
        gap: 10px;
    }
}