/* Login Form Styles */
.login-body-3d {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--gradient-hero);
    overflow: hidden;
}

.login-container-3d {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.login-background-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-content-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
    min-height: 600px;
}

.login-left-3d {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M50 0l50 50-50 50L0 50z'/%3E%3C/g%3E%3C/svg%3E");
    animation: rotate 30s linear infinite;
}

.login-brand-3d {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.login-logo-3d {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.login-brand-3d h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.login-brand-3d p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.login-features-3d {
    position: relative;
    z-index: 1;
}

.login-feature-3d {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.login-feature-3d:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.login-feature-3d i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.login-right-3d {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-tabs-3d {
    display: flex;
    margin-bottom: 3rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    padding: 0.5rem;
}

.login-tab-3d {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.login-tab-3d.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.login-form-3d {
    display: none;
}

.login-form-3d.active {
    display: block;
}

.login-form-3d h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.login-form-3d > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group-3d {
    margin-bottom: 1.5rem;
}

.form-group-3d label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.input-group-3d {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    transition: var(--transition-normal);
    overflow: hidden;
}

.input-group-3d:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group-3d i {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.input-group-3d input {
    flex: 1;
    padding: 1rem 0;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.password-toggle-3d {
    background: none;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition-normal);
}

.password-toggle-3d:hover {
    color: var(--primary-color);
}

.form-options-3d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.checkbox-label-3d {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-label-3d input {
    display: none;
}

.checkmark-3d {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: var(--transition-normal);
}

.checkbox-label-3d input:checked + .checkmark-3d {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label-3d input:checked + .checkmark-3d::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
}

.forgot-link-3d {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.forgot-link-3d:hover {
    text-decoration: underline;
}

.btn-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-3d:hover::before {
    transform: translateX(0);
}

.btn-primary-3d {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.btn-primary-3d:hover {
    box-shadow: 0 15px 25px rgba(30, 64, 175, 0.3);
    transform: translateY(-2px);
}

.login-btn-3d {
    width: 100%;
    justify-content: center;
    margin-bottom: 2rem;
}

.login-divider-3d {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: var(--text-light);
}

.login-divider-3d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(102, 126, 234, 0.2);
    z-index: 1;
}

.login-divider-3d span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.social-login-3d {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn-3d {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: white;
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.social-btn-3d:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.login-footer-3d {
    text-align: center;
    color: var(--text-secondary);
}

.login-footer-3d a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
}

.login-footer-3d a:hover {
    text-decoration: underline;
}

/* Floating shapes animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-duration: 35s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-duration: 25s;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 10%;
    animation-duration: 30s;
    animation-delay: 2s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 30%;
    animation-duration: 40s;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .login-content-3d {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .login-left-3d {
        padding: 3rem 2rem;
    }
    
    .login-right-3d {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .login-container-3d {
        padding: 1rem;
    }
    
    .login-content-3d {
        border-radius: 20px;
    }
    
    .login-left-3d,
    .login-right-3d {
        padding: 2rem 1.5rem;
    }
    
    .login-brand-3d h1 {
        font-size: 2rem;
    }
    
    .social-login-3d {
        flex-direction: column;
    }
}