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

:root {
    --primary-black: #000000;
    --primary-orange: #f29520;
    --dark-gray: #1a1a1a;
    --medium-gray: #2d2d2d;
    --light-gray: #404040;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Animated background elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 149, 32, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 149, 32, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--dark-gray);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 149, 32, 0.1);
    min-height: 600px;
}

/* Left Side - Branding */
.brand-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--medium-gray) 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(242, 149, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(242, 149, 32, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 40px;
}

.logo-container img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.brand-title .highlight {
    color: var(--primary-orange);
    position: relative;
    display: inline-block;
}

.brand-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 400;
}

.brand-features {
    list-style: none;
    margin-top: 40px;
}

.brand-features li {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.brand-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    color: var(--primary-black);
    border-radius: 50%;
    margin-right: 16px;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* Right Side - Login Form */
.form-section {
    background: var(--medium-gray);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form-header {
    margin-bottom: 40px;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 400;
}

.form-wrapper {
    width: 100%;
}

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

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-orange);
    background: var(--primary-black);
    box-shadow: 0 0 0 4px rgba(242, 149, 32, 0.1);
}

.form-input::placeholder {
    color: var(--text-gray);
}

.form-input.is-invalid {
    border-color: #e74c3c;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa64d 100%);
    color: var(--primary-black);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(242, 149, 32, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 149, 32, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Decorative elements */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-orange);
    opacity: 0.1;
    z-index: 0;
}

.decoration-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.decoration-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .brand-section {
        padding: 40px 30px;
        min-height: 300px;
    }

    .brand-title {
        font-size: 36px;
    }

    .form-section {
        padding: 40px 30px;
    }

    .brand-features {
        display: none;
    }
}

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

    .form-title {
        font-size: 24px;
    }

    .brand-section,
    .form-section {
        padding: 30px 20px;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-section,
.form-section {
    animation: fadeInUp 0.6s ease-out;
}

.form-section {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}
