html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*--------*/

body {
    background-color: #f8f9fa;
}

.qr-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.form-label {
    font-weight: bold;
}

.btn-generate {
    background-color: #28a745;
    border-color: #28a745;
}

    .btn-generate:hover {
        background-color: #218838;
        border-color: #218838;
    }

.qr-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}
/*-----------*/


:root {
    --primary-color: #1f3c88;
    --secondary-color: #f4f6f9;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #1f3c88, #2952cc);
    color: white;
    padding: 80px 0;
}

/* SECTION TITLES */
.section-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* CUSTOM CARD */
.custom-card {
    border: none;
    border-radius: 10px;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }

/* FEATURES */
.feature-icon {
    font-size: 16px;
    font-weight: 500;
}

/* LIGHT SECTION BACKGROUND */
.light-section {
    background-color: var(--secondary-color);
}

/* DARK PRIMARY SECTION */
.primary-section {
    background-color: var(--primary-color);
    color: white;
}

/* FOOTER */
.footer {
    background-color: var(--secondary-color);
}

/*----------*/
/* ERP Table Header - Strong Override */
.erp-header {
    background: linear-gradient(90deg, #1f3c88, #2952cc) !important;
}

    .erp-header th {
        color: #ffffff !important;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: 0.5px;
        border: none !important;
        padding: 14px 12px;
    }


.navbar {
    border-bottom: 3px solid rgba(255,255,255,0.2);
}

/* ===== Login / Register Navbar Styling ===== */

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    /* Hover Effect */
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }

/* Logout Button Styling */
#logout {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    border-radius: 6px;
    padding: 6px 14px;
    transition: all 0.3s ease;
}

    #logout:hover {
        background: #ffffff;
        color: #1f3c88 !important;
    }

/* Logged in user name styling */
#manage {
    font-weight: 600;
    letter-spacing: 0.5px;
}


/*-------*/
/* ===== LOGIN PAGE DESIGN ===== */

.login-wrapper {
    min-height: 85vh;
    background: linear-gradient(135deg, #1f3c88, #6a0dad);
    padding: 40px 0;
}

.min-vh-80 {
    min-height: 80vh;
}

.login-card {
    border-radius: 12px;
    background: #ffffff;
}

    .login-card .form-control {
        border-radius: 8px;
    }

    .login-card .btn-primary {
        padding: 10px;
        font-weight: 500;
        border-radius: 8px;
    }

 /*   -------------*/
/* ===== Gradient Text with Outline ===== */

.login-brand {
    font-size: 80px;
    font-weight: 900;
    letter-spacing: 10px;
    /* Gradient fill */
    background: linear-gradient(90deg, #6a0dad, #4b2bbf, #1f3c88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Outline stroke */
    -webkit-text-stroke: 2px #ffffff; /* White outline */

    display: inline-block;
}


/*---------------*/

/* ===== Access Denied Page ===== */

.access-wrapper {
    min-height: 85vh;
    background: linear-gradient(135deg, #1f3c88, #6a0dad);
    padding: 40px;
}

.access-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.access-icon {
    font-size: 60px;
}

/*----------------------------------------*/


/* ===== HOME PAGE DESIGN ===== */

.home-wrapper {
    overflow-x: hidden;
}

/* HERO */

/* ===== Hero Gradient ===== */

.hero-section {
    background: linear-gradient(90deg, #6a0dad, #1f3c88);
    border-radius: 0 0 20px 20px;
}

/* Dark overlay for better text contrast */
.hero-overlay {
    background: rgba(0, 0, 0, 0.25);
    padding: 40px 0;
    border-radius: 0 0 20px 20px;
}

/* Strong white text */
.hero-title {
    color: #ffffff;
    font-size: 28px;
    letter-spacing: 1px;
}

.hero-subtitle {
    color: #f1f1f1;
}

}
/*------------------------------ STATS--------------------------- */
/* ===== Stats Section ===== */

.stats-section {
    background: #ffffff;
}

/* Soft gradient stat cards */
.stat-card {
    padding: 30px;
    border-radius: 18px;
    /* Very light brand gradient */
    background: linear-gradient( 135deg, rgba(106, 13, 173, 0.05), rgba(31, 60, 136, 0.05) );
    border: 1px solid rgba(106, 13, 173, 0.08);
    transition: all 0.3s ease;
}

    /* Number styling */
    .stat-card h3 {
        font-size: 28px;
        background: linear-gradient(90deg, #6a0dad, #1f3c88);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Hover effect */
    .stat-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    
/* -------------------------------FEATURES ------------------------------*/
.features-section {
    background: #f8f9fc;
}

.feature-card {
    padding: 35px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(31,60,136,0.05), rgba(106,13,173,0.05));
    transition: 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    }

/* TECH */
.tech-section {
    background: linear-gradient(135deg, #1f3c88, #6a0dad);

}




/* ===---------------== About project Section Redesign ====-------------------= */

.about-section {
    background: #f8f9fc;
   
}


.about-card {
    max-width: 750px;
    background: linear-gradient( 135deg, rgba(106, 13, 173, 0.05), rgba(31, 60, 136, 0.05) );
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    line-height: 1.7;
    color: #555;
}

.about-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #6a0dad, #1f3c88);
    border-radius: 2px;
}