* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f0b1e 0%, #140f2a 50%, #0f0b1e 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated background gradient */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Light rays effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 99, 255, 0.15) 0%, transparent 70%);
    animation: lightRay 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes lightRay {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container-fluid {
    background: transparent;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Neumorphic Card */
.neumorphic-card {
    background: linear-gradient(145deg, #1a1333, #221a44);
    border-radius: 30px;
    padding: 50px 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 
        20px 20px 60px #0a0716,
        -20px -20px 60px #2e2466,
        0 0 0 1px rgba(138, 99, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Shimmer light effect on card */
.neumorphic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(138, 99, 255, 0.35) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.neumorphic-card:hover {
    box-shadow: 
        20px 20px 60px #0a0716,
        -20px -20px 60px #2e2466,
        0 0 30px rgba(138, 99, 255, 0.25);
}

/* Title */
.signin-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e6ddff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(0, 0, 0, 0.1),
            0 2px 4px rgba(0, 0, 0, 0.1);
    }
    100% {
        text-shadow: 
            0 0 20px rgba(0, 0, 0, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.15),
            0 0 30px rgba(138, 99, 255, 0.15);
    }
}

/* Social Buttons */
.social-buttons {
    gap: 25px;
    margin-bottom: 30px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #1a1333, #221a44);
    color: #e6ddff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        8px 8px 20px #0a0716,
        -8px -8px 20px #2e2466;
    position: relative;
    overflow: hidden;
}

.social-btn i {
    position: relative;
    z-index: 1;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 99, 255, 0.45) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-btn:hover::before {
    width: 100px;
    height: 100px;
}

.social-btn:hover {
    box-shadow: 
        inset 4px 4px 10px #0a0716,
        inset -4px -4px 10px #2e2466,
        0 0 20px rgba(138, 99, 255, 0.35);
    transform: scale(1.05);
}

.social-btn:active {
    box-shadow: 
        inset 6px 6px 15px #0a0716,
        inset -6px -6px 15px #2e2466;
}

/* Separator Text */
.separator-text {
    text-align: center;
    color: #9a8cff;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Form */
.signin-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

/* Input Fields - Inset Neumorphic */
.neumorphic-inset {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(145deg, #221a44, #1a1333);
    color: #e6ddff;
    font-size: 1rem;
    outline: none;
    box-shadow: 
        inset 8px 8px 20px #0a0716,
        inset -8px -8px 20px #2e2466;
    transition: all 0.3s ease;
    position: relative;
}

.neumorphic-inset::placeholder {
    color: #9a8cff;
    font-weight: 400;
}

.neumorphic-inset:focus {
    box-shadow: 
        inset 6px 6px 15px #0a0716,
        inset -6px -6px 15px #2e2466,
        0 0 15px rgba(138, 99, 255, 0.25);
    background: linear-gradient(145deg, #0f0b1e, #f0f0f0);
    transform: translateY(-2px);
}

/* Sign In Button - Raised Neumorphic */
.signin-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(145deg, #1a1333, #221a44);
    color: #e6ddff;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        8px 8px 20px #0a0716,
        -8px -8px 20px #2e2466;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.signin-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.signin-btn:hover::before {
    width: 300px;
    height: 300px;
}

.signin-btn:hover {
    box-shadow: 
        6px 6px 15px #0a0716,
        -6px -6px 15px #2e2466,
        0 0 25px rgba(138, 99, 255, 0.45);
    transform: translateY(-2px);
}

.signin-btn:active {
    box-shadow: 
        inset 4px 4px 10px #0a0716,
        inset -4px -4px 10px #2e2466;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 25px;
    color: #9a8cff;
    font-size: 0.9rem;
}

.login-link a {
    color: #e6ddff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.login-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.3), transparent);
    transition: width 0.3s ease;
}

.login-link a:hover {
    color: #b8a9ff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.login-link a:hover::after {
    width: 100%;
}

/* ID Activation Page Styles */
.activation-card {
    margin: 0 auto;
    max-width: 600px;
}

.activation-header {
    text-align: center;
    margin-bottom: 40px;
}

.activation-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7b5cff, #9f7bff);
    box-shadow: 
        8px 8px 20px rgba(40, 167, 69, 0.3),
        -8px -8px 20px rgba(255, 255, 255, 0.9);
    color: #fff;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.activation-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 99, 255, 0.35), transparent);
    border-radius: 20px;
}

.activation-icon-wrapper i {
    position: relative;
    z-index: 1;
}

.activation-subtitle {
    color: #b8a9ff;
    font-size: 0.95rem;
    margin-top: 10px;
    font-weight: 500;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #e6ddff;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-label i {
    color: #b8a9ff;
    font-size: 0.9rem;
}

.signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.signin-btn i {
    font-size: 1.1rem;
}

.signin-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Error Messages */
.neumorphic-inset.error {
    box-shadow: 
        inset 8px 8px 20px #0a0716,
        inset -8px -8px 20px #2e2466,
        0 0 15px rgba(255, 92, 138, 0.4);
    border: 1px solid rgba(255, 92, 138, 0.4);
}

.error-message {
    color: #ff5c8a;
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 600;
    padding-left: 5px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 576px) {
    .neumorphic-card {
        padding: 40px 30px;
        border-radius: 25px;
    }
    
    .signin-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .activation-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .activation-subtitle {
        font-size: 0.85rem;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .social-buttons {
        gap: 20px;
        margin-bottom: 25px;
    }
}

p {
    color: #fff!important;
}

