/* ALL ORIGINAL STYLES - PRESERVED */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    min-height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 600px;
    height: 600px;
    z-index: 1;
}

.cards-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.card {
    position: absolute;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgb(254, 252, 255) 20%, rgb(106, 133, 255) 80%);
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    overflow: visible;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.card-description {
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

.card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    font-weight: bold;
    color: rgba(102, 126, 234, 0.2);
}

.card.active {
    transform: scale(1.3);
    z-index: 10;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.decorative-circle-outer {
    position: absolute;
    top: -251px;
    right: 1055px;
    width: 705px;
    height: 710px;
    background: white;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.273),
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.decorative-circle-inner {
    position: absolute;
    top: -223px;
    right: 1067px;
    width: 690px;
    height: 670px;
    background: linear-gradient(135deg, rgba(88, 158, 255, 0.892) 30%, rgba(87, 140, 215, 0.892) 40%, rgb(255, 255, 255) 80%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 15;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.163),
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.decorative-circle-end {
    position: absolute;
    bottom: -200px;
    left: 1250px;
    width: 500px;
    height: 500px;
    background: linear-gradient(315deg, rgb(40, 146, 245) 50%, rgb(255, 255, 255) 90%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 15;
}

.glass-signin {
    position: absolute;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    outline: 1px solid rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.18),
        inset 0 0 25px rgba(255, 255, 255, 0.12);
    z-index: 30;
    overflow: hidden;
}

.glass-signin::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 220%;
    height: 220%;
    background: linear-gradient(130deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.15) 30%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

.glass-signin h2 {
    margin-bottom: 5px;
}

.glass-signin .subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
}

.glass-signin input[type="text"],
.glass-signin input[type="password"] {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border-radius: 30px;
    border: 1.5px solid #111;
    background: rgba(255, 255, 255, 0.7);
    outline: none;
}

.glass-signin .options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 20px;
}

.glass-signin .options a {
    color: #1e40af;
    text-decoration: none;
}

.signin-btn {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #1e40af, #2563eb);
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.signin-btn:hover {
    opacity: 0.95;
}

.register-text {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
}

.register-text a {
    color: #1e40af;
    text-decoration: none;
}

.carousel-branding {
    position: absolute;
    top: 60px;
    left: 90px;
    z-index: 20;
}

.carousel-branding h1 {
    font-size: 36px;
    font-weight: 700;
    color: rgba(0, 113, 188, 1);
    font-style: italic;
    margin-bottom: 5px;
}

.carousel-branding p {
    font-size: 14px;
    color: #666;
}

.bottom-headline {
    position: absolute;
    bottom: 60px;
    left: 45%;
    transform: translateX(-50%);
    max-width: 700px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    z-index: 20;
}

.brand-logo {
    width: 200px;
    margin-bottom: 15px;
}

.card-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.card-image1 {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.input-group label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 1px;
    color: #333;
}

.agent-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
}

.read-more {
    color: #2563eb;
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
}

/* Password input wrapper styling */
.password-group {
    position: relative;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 40px;
    /* Space for the eye icon button */
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.password-toggle-btn:hover {
    color: #333;
}

.password-toggle-btn .material-icons {
    font-size: 20px;
    user-select: none;
}

