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

body {
    font-family: 'DM Sans', sans-serif;
    background: linear-gradient(135deg, #ec5611d5 0%, #0a0a2e 25%, #0a0a2e 50%, #0a0a2e 75%, #ec5611d5 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* n1 Background */
.n1-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.y2k-grid {
    position: absolute;
    width: 100%;
    height: 100%;


}

.grid-dots {
    position: absolute;
    width: 100%;
    height: 100%;

    background-image:
        radial-gradient(circle at 2px 2px, #FFA802 1px, transparent 0);

    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

.scanner-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;

    background: linear-gradient(90deg, #FF5F15 0%, #FFA802 100%);

    animation: scanMove 8s linear infinite;
}

.scan-1 {
    top: 20%;
    animation-delay: 0s;
}

.scan-2 {
    top: 50%;
    animation-delay: -3s;

    background: linear-gradient(90deg, #FF5F15 0%, #FF5F15 100%);

}

.scan-3 {
    top: 81%;
    animation-delay: -6s;

    background: linear-gradient(90deg, #FF5F15 0%, #FF5F15 100%);

}

@keyframes scanMove {
    0% {
        left: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Main Container */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* Main Content Area */
.login-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 24px 0 0 10px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Left Section - Customer Support */
.support-section {

    border-radius: 24px;
    padding: 30px;
    box-shadow: rgb(233 118 19) 0px 30px 60px -12px inset, rgb(16 1 143 / 30%) 0px 18px 36px -18px inset;
    z-index: 1;
}

.support-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.support-item {
    background: #633e177d;
    border: 1px solid rgba(255, 95, 21, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-item:hover {
    background: rgba(255, 95, 21, 0.08);
    border-color: rgba(255, 95, 21, 0.4);
    transform: translateX(5px);
}

.support-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.support-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF5F15, #FFA802);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.support-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #FFA802;
    margin: 0;
}

.support-item p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-left: 52px;
}

/* Center Section - Login Form */
.login-form-container {

    background: linear-gradient(145deg, rgb(1 15 82 / 95%), rgb(107 29 6 / 90%));
    backdrop-filter: blur(30px);
    border: 2px solid orange;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(255, 95, 21, 0.2);
    position: relative;
    overflow: hidden;
}

.login-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 95, 21, 0.15), transparent);
    border-radius: 50%;
}

.form-logo {
    text-align: center;
    margin-bottom: 16px;
}

.form-logo img {
    width: 200px;
    height: auto;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.form-title .highlight {
    background: linear-gradient(135deg, #FF5F15, #FFA802);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-title p {
    font-size: 22px;
    color: white;
}

.input-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.input-group-modern input {
    width: 100%;
    padding: 15px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.input-group-modern input::placeholder {
    color: transparent;
}

.input-group-modern label {
    position: absolute;
    left: 12px;
    top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 19px;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 0 6px;
}

.input-group-modern label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #1a2556;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-group-modern input:focus,
.input-group-modern input:not(:placeholder-shown) {
    border-color: #FF5F15;
    background: rgba(255, 255, 255, 0.08);
}

.input-group-modern input:focus~label,
.input-group-modern input:not(:placeholder-shown)~label {
    top: -11px;
    left: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #FFA802;
    /* background: #0d1d58e8; */
    background: linear-gradient(145deg, rgb(1 15 82 / 95%), rgb(107 29 6 / 90%));
}

.input-group-modern input:focus~label::before,
.input-group-modern input:not(:placeholder-shown)~label::before {
    opacity: 1;
}

.forgot-password {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password a {
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    color: #FF5F15;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FF5F15, #FFA802);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 95, 21, 0.4);
}

/* Right Section - Brands */
.brands-section {
    border-radius: 24px;
    padding: 30px 30px 0 30px;
    box-shadow: rgb(233 118 19) 0px 30px 60px -12px inset, rgb(16 1 143 / 30%) 0px 18px 36px -18px inset;
    z-index: 1;
}

.brands-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 25px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.brand-card {
    background: #633e177d;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 95, 21, 0.3);
}

.brand-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.security-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.security-badge {
    background: #633e177d;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.security-badge img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
}

/* Train Animation Section */
.train-animation-section {
    position: relative;

    text-align: center;
}



/* Footer */
.login-footer {

    padding: 20px 0 0 0;

    text-align: center;
    color: white;
}

.login-footer h5 {
    color: white;
    font-size: 18px;
    background: #ff5500;
    padding: 5px;
    border-radius: 9px;
}

/* button */

/* CSS */
.achievement {

    --glow-color: #fd731e;
    --glow-spread-color: rgb(223 111 15 / 78%);
    --enhanced-glow-color: rgb(231, 206, 255);
    --btn-color: rgb(4 13 58);
    border: .25em solid var(--glow-color);
    padding: 1em 3em;
    color: white;
    font-size: 15px;
    font-weight: bold;
    background-color: var(--btn-color);
    border-radius: 1em;
    outline: none;
    box-shadow: 0 0 1em .25em var(--glow-color), 0 0 4em 1em var(--glow-spread-color), inset 0 0 .75em .25em var(--glow-color);
    text-shadow: 0 0 .5em var(--glow-color);
    position: relative;
    transition: all 0.3s;
}

.achievement::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--glow-spread-color);
    filter: blur(2em);
    opacity: .7;
    transform: perspective(1.5em) rotateX(35deg) scale(1, .6);
}

.achievement:hover {
    color: var(--btn-color);
    background-color: var(--glow-color);
    box-shadow: 0 0 1em .25em var(--glow-color),
        0 0 4em 2em var(--glow-spread-color),
        inset 0 0 .75em .25em var(--glow-color);
}

.achievement:active {
    box-shadow: 0 0 0.6em .25em var(--glow-color),
        0 0 2.5em 2em var(--glow-spread-color),
        inset 0 0 .5em .25em var(--glow-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .login-header {
        padding: 15px 0;
    }

    .logo-container img {
        width: 150px;
    }

    .support-section,
    .brands-section {
        padding: 20px;
    }

    .login-form-container {
        padding: 30px 20px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .train-animation-section {
        height: 250px;
        overflow: auto;
    }

    .achievement::after {
        width: auto;
    }


}

@media (max-width: 480px) {
    .support-title {
        font-size: 20px;
    }

    .support-item {
        padding: 15px;
    }

    .form-title h2 {
        font-size: 22px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .security-badges {
        flex-direction: column;
    }

    .train-animation-section {
        height: 200px;
        overflow: auto;
    }

    .train {
        bottom: 80px;
        height: 70px;
        width: 350px;
        left: -400px;
    }

    .login-footer p {
        font-size: 12px;
        padding: 0 10px;
        line-height: 1.6;
    }

    .achievement::after {
        width: auto;
    }
}

@media (max-width: 360px) {
    .train-engine {
        width: 60px;
        height: 50px;
    }

    .train-coach {
        width: 50px;
        height: 40px;
    }

    .train-wheels {
        gap: 10px;
        bottom: -10px;
        left: 8px;
    }

    .wheel {
        width: 15px;
        height: 15px;
    }

    .irctc-badge-content {
        padding: 12px 20px;
    }

    .irctc-badge-content h3 {
        font-size: 14px;
    }

    .irctc-badge-content p {
        font-size: 10px;
    }

    .achievement::after {
        width: auto;
    }
}