:root {
    --primary: #ea0029;
    --primary-dark: #cf0026ff;
    --white: #fff;
    --input-focus: #ea0029;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    --bg-gradient: linear-gradient(135deg, #373a36 0%, #232526 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-blur: blur(12px);
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--bg-gradient);
    color: #232526;
    font-family: bahnschrift, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.background-featured {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}


.front-featured-single-content {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(55, 58, 54, 0.85);
    color: #fff;
    padding: 32px 38px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    max-width: 340px;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.front-featured-single-content-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.front-featured-single-content-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.front-featured-single-content-description p {
    font-size: 15px;
    color: #eaeaea;
    margin-bottom: 14px;
}

.front-featured-single-content-link {
    display: inline-block;
    color: var(--primary);
    background: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.10);
}

.front-featured-single-content-link:hover {
    background: var(--primary);
    color: #fff;
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 38px 102px 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: var(--card-blur);
    margin-top: 0;
}

.login-container img.logo {
    width: 150px;
    margin-bottom: 22px;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

h2 {
    margin: 0 0 0 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

p {
    color: #898c8e;
    margin-bottom: 18px;
}

.error-message {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 500;
}

.success-message {
    color: #28a745;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(40, 167, 69, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 13px;
    margin-bottom: 14px;
    border: none;
    border-radius: 8px;
    background: #f7f7f7;
    color: #232526;
    font-size: 16px;
    transition: box-shadow 0.2s, background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.link-btn {
    width: 100%;
    box-sizing: border-box;
    display: block;
    font-size: 12px !important;
}

button[type="submit"] {
    padding: 13px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.08);
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

button[type="submit"]:hover {
    background: var(--primary-dark);
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 15px;
    margin-top: 12px;
    transition: color 0.2s;
    padding: 12px 0;
}

.link-btn:hover {
    color: #eaeaea;
}

.icon-btn {
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}

.back-to-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.back-to-login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .background-featured-left img {
        border-radius: 0;
    }

    .front-featured-single-content {
        right: 10px;
        max-width: 90vw;
        padding: 18px 12px;
    }
}

@media (max-width: 700px) {
    .background-featured {
        display: none;
    }

    .login-container {
        background-color: transparent !important;
        padding: 20px !important;
    }

    h2 {
        color: #fff;
    }

    .front-featured-single-content {
        position: static;
        transform: none;
        margin: 0 auto;
        max-width: 98vw;
        padding: 14px 8px;
    }
}

@media (max-width: 480px) {
    .login-container {
        max-width: 100vw;
        border-radius: 0;
        background: var(--card-bg);
        box-shadow: none;
        padding: 18px 8px 18px 8px;
    }

    input[type="text"],
    input[type="password"] {
        width: 100%;
    }

    button[type="submit"],
    .link-btn {
        width: 100%;
    }

    .front-featured-single-content {
        padding: 10px 4px;
    }
}