/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #FF1E1E;
    /* Vibrant Red */
    --text-color: #333;
    --bg-gradient-start: #0A2E38;
    /* Deep Teal matching exact reference */
    --bg-gradient-end: #000000;
    /* Pure Black */
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Gradient from stronger teal on the left to deep black on the right */
    background: linear-gradient(100deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-start;
    /* Align to left */
    align-items: center;
    gap: 40px;
    /* Space between logo and nav */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
}

.sub-brand {
    font-size: 10px;
    color: #000;
    /* Black for GAMING */
    font-weight: 600;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* Main Content Styles */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.signup-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.signup-container h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}

.signup-container p {
    color: var(--gray-medium);
    margin-bottom: 2rem;
    font-size: 14px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 13px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background-color: #f9f9f9;
}

.form-group input:focus {
    border-color: #aaa;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    /* Ensure input fills width */
}

/* Ensure input inside wrapper takes full width */
.password-input-wrapper input {
    width: 100%;
    padding-right: 50px;
    /* Space for the "Show" button */
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--gray-medium);
    cursor: pointer;
    font-weight: 500;
    user-select: none;
}

.optional {
    color: var(--gray-medium);
    font-weight: 400;
    font-size: 11px;
    margin-left: 4px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #d90000;
}

.login-link {
    margin-top: 1.5rem;
    font-size: 13px;
    color: var(--gray-medium);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .signup-container {
        padding: 2rem;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        margin-top: 10px;
    }
}






/* Base Toast Style */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100005;
    display: flex;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

/* Show Animation */
.toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* Success */
.toast-success {
    background-color: #28a745;
}

/* Error */
.toast-error {
    background-color: #dc3545;
}
.toast {
    min-width: 250px;
    max-width: 350px;
}