:root {
    --red: #c92127;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --border: #e5e7eb;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: #fdf2f2; /* Light pink background */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.text-red {
    color: var(--red);
}

.font-black {
    font-weight: 900;
}

/* Background Globe Pattern */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Create a subtle grid/globe pattern similar to screenshot */
    background-image: 
        radial-gradient(ellipse at 50% 100%, transparent 40%, rgba(201,33,39,0.05) 41%, transparent 42%),
        radial-gradient(ellipse at 50% 100%, transparent 50%, rgba(201,33,39,0.05) 51%, transparent 52%),
        radial-gradient(ellipse at 50% 100%, transparent 60%, rgba(201,33,39,0.05) 61%, transparent 62%),
        radial-gradient(ellipse at 50% 100%, transparent 70%, rgba(201,33,39,0.05) 71%, transparent 72%),
        radial-gradient(ellipse at 50% 100%, transparent 80%, rgba(201,33,39,0.05) 81%, transparent 82%);
    background-size: 100% 100%;
}
.bg-pattern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(201, 33, 39, 0.1), transparent);
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 30px;
    gap: 8px;
}

.auth-logo .logo-text {
    font-size: 32px;
    letter-spacing: -1px;
}

.auth-logo .logo-sub {
    font-size: 9px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    padding-left: 8px;
    border-left: 2px solid var(--red);
}

.auth-card {
    background: var(--white);
    width: 100%;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.auth-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 32px;
}

.auth-subtitle a {
    text-decoration: none;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.required {
    color: var(--red);
}

.form-group input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-dark);
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s;
}

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

.form-group input::placeholder {
    color: #9ca3af;
}

.input-with-icon {
    position: relative;
}

.input-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
}
.toggle-pw:hover {
    color: var(--text-dark);
}

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

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

.form-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.forgot-pw {
    font-size: 12px;
    text-decoration: none;
}
.forgot-pw:hover {
    text-decoration: underline;
}

/* Custom Modal */
.custom-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.custom-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-20px);
    transition: transform 0.3s;
    min-width: 320px;
}
.custom-modal.active .modal-content {
    transform: translateY(0);
}
.modal-logo {
    margin-bottom: 12px;
}
.modal-logo .logo-text {
    font-size: 28px;
    letter-spacing: -1px;
}
.modal-content h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 20px;
}
.modal-content p {
    margin-bottom: 24px;
    color: var(--text-gray);
    font-size: 14px;
}
