/* --- AMD Corporate Identity Login Style --- */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    --amd-red: #ED1C24;
    --amd-red-hover: #c4171e;
    --amd-black: #111111;
    --amd-dark-gray: #1a1a1a;
    --amd-text-gray: #cccccc;
    --amd-white: #ffffff;
}

/* Base Layout */
body.login-page {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)),
        url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop'); /* Tech background texture */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Prompt', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Ambient Light Effects (Red Glow) */
.ambient-light {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.light-1 { top: -30%; left: -10%; }
.light-2 { bottom: -30%; right: -10%; }

/* Login Card Container */
.login-card {
    background: var(--amd-black);
    border: 1px solid #333;
    border-radius: 0; /* AMD Style: No radius */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 10;
    margin: 20px;
}

/* Left Side (Image Section) */
.login-visual {
    background-color: #000;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.login-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 10s ease;
}

.login-visual:hover img {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: white;
    z-index: 2;
}

.amd-logo-large {
    width: 120px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Make logo white */
}

.quote-box {
    border-left: 4px solid var(--amd-red);
    padding-left: 1.5rem;
}

/* Right Side (Form Section) */
.login-form-section {
    padding: 4rem 3rem;
    color: #fff;
    background-color: var(--amd-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Accent Top Line */
.login-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--amd-red) 0%, transparent 100%);
}

/* Form Elements */
.form-label {
    color: var(--amd-text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.input-group {
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--amd-red);
    box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.2);
}

.input-group-text {
    background-color: #1a1a1a;
    border: none;
    color: #666;
    border-radius: 0;
    padding: 12px 15px;
}

.form-control {
    background-color: #1a1a1a;
    border: none;
    color: #fff;
    border-radius: 0; /* Strict Square */
    padding: 12px 15px;
    font-weight: 300;
}

.form-control:focus {
    background-color: #1a1a1a;
    color: #fff;
    box-shadow: none;
}

.form-control::placeholder {
    color: #555;
    font-style: italic;
}

.input-group:focus-within .input-group-text {
    color: var(--amd-red);
}

/* Button Styles */
.btn-amd-login {
    background-color: var(--amd-red);
    color: white;
    border: none;
    padding: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 0; /* AMD Style */
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.btn-amd-login:hover {
    background-color: var(--amd-white);
    color: var(--amd-black);
}

.btn-amd-login i {
    transition: transform 0.3s;
}

.btn-amd-login:hover i {
    transform: translateX(5px);
}

/* Branding & Text */
.brand-header {
    margin-bottom: 2rem;
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.brand-arrow {
    color: var(--amd-red);
    font-size: 2rem;
    margin-right: 0.5rem;
}

/* Links */
.back-link {
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.back-link:hover {
    color: var(--amd-red);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .login-visual {
        display: none;
    }
    .login-form-section {
        padding: 3rem 2rem;
    }
    .login-card {
        max-width: 450px;
    }
}