@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-family: 'Poppins', sans-serif;
    /* Main brand purple */
    --primary: #581c87;
    --primary-2: #6b21a8;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-gradient: linear-gradient(135deg, #581c87 0%, #6b21a8 100%);
    /* BACKGROUND COLORS */
    --bg-primary: #f9f6ff;
    --bg-dark: #291b4b;
    --bg-overlay: rgba(88, 28, 135, 0.5);
    /* TEXT COLORS */
    --text-primary: #16141c;
    --text-black: #000000;

}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 18px;
}

body.logged-in {
    background-color: var(--bg-primary);
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

/* Base Button Primary Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(0deg, #480389 5%, #a855f7 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 12px rgba(56, 54, 54, 0.2);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(163, 65, 254, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Container styling */
.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 9999px;
    background-color: #f6ebfd;
    color: #7103cb;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #b390d7;
    margin-bottom: 24px;
}

/* The dot wrapper */
.dot-wrapper {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
}

/* The animated pulse ring */
.pulse-ring {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: #ce97f6;
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* The solid center dot */
.dot-center {
    position: relative;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #7125eb;
}

/* Keyframe for the pulse effect */
@keyframes ping {

    75%,
    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Navbar Styles */
.navbar {
    padding: 10px;
}

.navbar .navbar-brand .logo {
    max-width: 250px;
}

.nav-item .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
}

.nav-item .nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-hover);
}

.navbar-nav .nav-item.active .nav-link {
   color: var(--primary-2);
    background: #f3e8ff;
    font-weight: 600;
}

.nav-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 #5b21b6, 0 8px 15px rgba(124, 58, 237, 0.3);
    position: relative;
}

.nav-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #5b21b6, 0 6px 12px rgba(124, 58, 237, 0.3);
}

.nav-btn:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #5b21b6, 0 2px 5px rgba(124, 58, 237, 0.3);
}

/*=========================================
   Hero Section
  ========================================*/

#hero_Section {
    padding: 30px 0;
    background-color: var(--primary);
    background-image: url(https://storage.perfectcdn.com/jp11cn/ihjkff9pk3hs24q6.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#hero_Section h1 {
    font-size: 2rem;
    margin: 0px 0;
    color: var(--text-black);
}

#hero_Section p {
    color: var(--text-primary);
    margin-top: 10px;
}

.hero_image {
    text-align: right;
    position: relative;
    z-index: 2;
}

.hero_image img {
    max-width: 100%;
    height: auto;
}

/* Login Form Styling */
.login-form {
    width: 70%;
}

.form-group {
    margin-bottom: 20px;
}

.login-form .form-label {
    display: block;
    font-weight: 500;
    color: #040010;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-form .form-control {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    border: 2px solid #7808f0d3;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.login-form .form-control:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.1);
    outline: none;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .form-control {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 0;
    top: 0;
    height: 48px;
    width: 48px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #a855f7;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #a855f7;
}

.checkbox-label {
    font-size: 14px;
    color: #0b0417;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.checkbox-forget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
  white-space: nowrap;
}

.forget-label {
    font-size: 14px;
    color: #b506b5;
}

.signup-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #2c3037;
}

.signup-text a {
    color: #a855f7;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.signup-text a:hover {
    color: #9333ea;
    text-decoration: none;
}