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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, #ffffff, #EFF6FF, #DBEAFE);
    color: #111827;
    min-height: 100vh;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 50%, #1E3A8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: 0 0 60px rgba(0, 102, 255, 0.3), 0 0 100px rgba(0, 102, 255, 0.1);
}

.card-white {
    background: white;
    border: 1px solid rgba(0, 102, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 102, 255, 0.05), 0 2px 4px -1px rgba(0, 102, 255, 0.03);
}

/* Background Effects */
.bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}

.bg-orb-1 {
    top: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background: linear-gradient(to right, #BFDBFE, #93C5FD);
    opacity: 0.4;
}

.bg-orb-2 {
    bottom: 0;
    left: 0;
    width: 384px;
    height: 384px;
    background: linear-gradient(to right, #DBEAFE, #BFDBFE);
    opacity: 0.5;
}

/* Logo */
.logo-container {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 20;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    transition: transform 0.2s;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 10;
}

.content-wrapper {
    width: 100%;
    max-width: 1024px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* Login Card */
.login-card {
    border-radius: 24px;
    padding: 32px;
}

@media (min-width: 1024px) {
    .login-card {
        padding: 48px;
    }
}

.login-header {
    margin-bottom: 32px;
}

.login-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.login-subtitle {
    font-size: 18px;
    color: #4B5563;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    background: #EFF6FF;
    color: #111827;
    font-size: 16px;
    transition: all 0.2s;
    outline: none;
}

.form-input::placeholder {
    color: #6B7280;
}

.form-input:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-select-wrapper {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 14px 40px 14px 44px;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    background: #EFF6FF;
    color: #111827;
    font-size: 16px;
    transition: all 0.2s;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.form-select:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.select-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #4B5563;
    pointer-events: none;
}

.select-icon-right {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #4B5563;
    pointer-events: none;
}

/* Error Message */
.error-message {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 8px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px 32px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, #0066FF, #1E3A8A);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.9;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

.btn-spinner {
    animation: spin 1s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Signup Link */
.signup-link {
    margin-top: 32px;
    text-align: center;
    color: #4B5563;
}

.signup-link a {
    color: #0066FF;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Benefits Section */
.benefits-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.benefits-card {
    border-radius: 24px;
    padding: 32px;
}

.benefits-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111827;
}

.benefits-description {
    color: #4B5563;
    margin-bottom: 24px;
    line-height: 1.75;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    color: #16A34A;
    flex-shrink: 0;
}

.benefit-item span {
    color: #374151;
}

/* Trust Badges */
.trust-badges {
    border-radius: 16px;
    padding: 24px;
}

.badges-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-item svg {
    width: 32px;
    height: 32px;
    color: #0066FF;
    margin-bottom: 8px;
}

.badge-text {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    line-height: 1.3;
}

.badge-divider {
    width: 1px;
    height: 40px;
    background: #BFDBFE;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 32px;
}

.back-link a {
    color: #4B5563;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.back-link a:hover {
    color: #111827;
}

/* Animations */
.fade-in-left {
    animation: fadeInLeft 0.5s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}