/* auth.css */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.auth-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 10px;
    color: #333;
}

.auth-container p {
    color: #666;
    margin-bottom: 20px;
}

.auth-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-container button {
    width: 100%;
    padding: 12px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 0;
}

.auth-container button:hover {
    background: #005a87;
}

#authMessage {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

#authMessage.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

#authMessage.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.auth-info {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 14px;
}

.auth-info p {
    margin: 5px 0;
    color: #555;
}


/* auth.css */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.auth-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.auth-container h2 {
    margin-bottom: 10px;
    color: #333;
    font-size: 24px;
}

.auth-container p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.auth-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #007cba;
    outline: none;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 0;
    transition: background 0.3s;
}

.auth-btn:hover {
    background: #005a87;
}

#authMessage {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    min-height: 20px;
}

#authMessage.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

#authMessage.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.auth-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 14px;
    border-left: 4px solid #007cba;
}

.auth-info p {
    margin: 8px 0;
    color: #555;
    line-height: 1.4;
}

.auth-info strong {
    color: #333;
}




.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.auth-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
}

.auth-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 0;
}

.auth-btn:hover {
    background: #0056b3;
}

.auth-message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    display: none;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.test-btn:hover {
    opacity: 0.9;
}







/* auth.css - Production Styles */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    border: 1px solid #e0e0e0;
}

.auth-container h2 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.auth-container p {
    color: #555;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
}

.auth-input {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.auth-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 0;
    transition: all 0.3s;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 91, 187, 0.3);
}

.auth-message {
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    display: none;
    font-size: 14px;
}

.auth-message.error {
    background: #fff5f5;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-message.success {
    background: #f0fff4;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-info {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #007bff;
    font-size: 14px;
}

.auth-info p {
    margin: 8px 0;
    text-align: left;
    color: #495057;
}

.auth-info strong {
    color: #2c3e50;
}

#contactSupport {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

#contactSupport:hover {
    text-decoration: underline;
}

/* Logout button */
#logoutBtn {
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
}

#logoutBtn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}



/* Auth Modal Styles */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.auth-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.auth-container h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
}

.auth-input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #007bff;
    outline: none;
}

.auth-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.auth-btn:hover {
    background: #0056b3;
}

.auth-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-info {
    margin-top: 20px;
    text-align: left;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
}

.auth-info p {
    margin: 8px 0;
}

.auth-info strong {
    color: #333;
}