:root {
    --primary-color: #dc3545;
    --primary-gradient: linear-gradient(135deg, #dc3545 0%, #dc3545 100%);
    --secondary-color: #ffffff;
    --text-color: #ffffff;
    --bg-color: #dc3545;
    --card-bg: #ffffff;
    --sidebar-width: 280px;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --btn-primary-bg: #dc3545;
    --btn-primary-text: #ffffff;
}

body {
    background-color: var(--bg-color);
    font-family: 'Poppins', 'Roboto', sans-serif;
    margin: 0;
    color: var(--text-color);
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

/* Auth Page Specific Styles */
.auth-page {
    background-color: #E49B0F;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
}

/* Curved Top Header Shape */
.auth-header-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.1);
    /* Darker yellow/brown overlay */
    border-bottom-right-radius: 100%;
    z-index: 1;
}

.auth-header-shape-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 100%;
    z-index: 1;
}

.auth-footer-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.1);
    border-top-right-radius: 100%;
    z-index: 0;
}


.auth-content {
    width: 100%;
    max-width: 450px;
    z-index: 10;
    /* Above shapes */
    padding: 20px;
    margin-top: 40px;
}

.auth-logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-logo img {
    width: 80%;
    height: auto;
}

.auth-title {
    text-align: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.auth-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 500;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

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

.custom-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00008B;
    font-size: 1.2rem;
}

.custom-input-auth {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    transition: all 0.3s;
}

.custom-input-auth:focus {
    background-color: #fff;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.btn-auth-primary {
    width: 100%;
    background-color: #333333;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-auth-primary:active {
    transform: scale(0.98);
}

.support-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-whatsapp {
    flex: 1;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-call {
    flex: 1;
    background-color: #007bff;
    /* Blue */
    color: white;
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.pwa-install-btn-auth {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: blink 2s infinite;
    border: 2px solid #fff;
    margin-top: 20px;
    cursor: pointer;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1.08);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* Hide Toastr Top Center */
#toast-container>div {
    opacity: 1;
}

.toast-top-center {
    top: 20px;
    left: 50%;
    margin-left: -150px;
}

/* Helper Text */
.auth-helper-text {
    text-align: center;
    font-size: 0.85rem;
    color: #ffffff;
    margin-top: 15px;
}

.auth-helper-text a {
    color: #00008B !important;
    font-weight: 700;
    text-decoration: none;
}

.blink-text {
    display: inline-block;
    animation: blink 2s infinite;
}