﻿/* Combined Amazon UI Styles - Registration/Login and Admin Approval */
:root {
    --amazon-orange: #ff9900;
    --amazon-blue: #232f3e;
    --amazon-light-blue: #37475a;
    --amazon-hover: #e77600;
    --amazon-gold: #ffd700;
    --amazon-light-gray: #f3f3f3;
    --google-blue: #4285f4;
    --google-blue-hover: #357ae8;
    --google-border: #dadce0;
    --google-text: #3c4043;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Amazon Ember", "Arial", sans-serif;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    user-select: none;
}

    /* Body variants for different pages */
    body.auth-page {
        background: #ffffff;
    }

    body.waiting-page {
        background: linear-gradient( 135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100% );
        position: relative;
    }

/* Animated Background System */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.08;
}

.waiting-page .animated-bg {
    opacity: 0.1;
}

.floating-shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

/* Floating shape positions for auth pages */
.auth-page .floating-shape:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.auth-page .floating-shape:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.auth-page .floating-shape:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.auth-page .floating-shape:nth-child(4) {
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

/* Floating shape positions for waiting pages */
.waiting-page .floating-shape {
    animation: float 8s ease-in-out infinite;
}

    .waiting-page .floating-shape:nth-child(1) {
        top: 15%;
        left: 10%;
        animation-delay: 0s;
    }

    .waiting-page .floating-shape:nth-child(2) {
        top: 25%;
        right: 15%;
        animation-delay: 2s;
    }

    .waiting-page .floating-shape:nth-child(3) {
        bottom: 30%;
        left: 20%;
        animation-delay: 4s;
    }

    .waiting-page .floating-shape:nth-child(4) {
        bottom: 15%;
        right: 25%;
        animation-delay: 6s;
    }

    .waiting-page .floating-shape:nth-child(5) {
        top: 50%;
        left: 50%;
        animation-delay: 1s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.waiting-page .floating-shape {
    animation-name: floatWaiting;
}

@keyframes floatWaiting {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    75% {
        transform: translateY(-40px) rotate(270deg);
    }
}

/* Particles System */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--amazon-orange);
    border-radius: 50%;
    animation: particle-float 8s infinite linear;
    opacity: 0.6;
}

    .particle:nth-child(3n) {
        background: var(--amazon-blue);
        opacity: 0.4;
    }

    .particle:nth-child(5n) {
        background: #4285f4;
        opacity: 0.5;
        width: 6px;
        height: 6px;
    }

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Waiting page specific particles */
.waiting-page .particle-1 {
    width: 6px;
    height: 6px;
    background: var(--amazon-orange);
    animation: particle-float-1 12s infinite linear;
}

.waiting-page .particle-2 {
    width: 4px;
    height: 4px;
    background: var(--amazon-blue);
    animation: particle-float-2 15s infinite linear;
}

.waiting-page .particle-3 {
    width: 8px;
    height: 8px;
    background: var(--amazon-gold);
    animation: particle-float-3 10s infinite linear;
}

@keyframes particle-float-1 {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes particle-float-2 {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(-80px) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes particle-float-3 {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0.5) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    50% {
        transform: translateY(50vh) translateX(50px) scale(1) rotate(180deg);
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100px) translateX(-50px) scale(0.3) rotate(360deg);
        opacity: 0;
    }
}

/* Container Styles */
.login-container,
.register-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    animation: slideUp 0.8s ease-out;
    border: 1px solid #e8e8e8;
}

.login-container {
    max-width: 450px;
}

.waiting-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.waiting-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 90%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: cardPulse 3s ease-in-out infinite;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cardPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 25px 80px rgba(255, 153, 0, 0.2);
    }
}

/* Logo Styles */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--amazon-blue);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

.amazon-logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--amazon-blue);
    margin-bottom: 2rem;
    position: relative;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes logoGlow {
    0% {
        text-shadow: 0 0 10px rgba(35, 47, 62, 0.3);
        transform: scale(1);
    }

    100% {
        text-shadow: 0 0 20px rgba(35, 47, 62, 0.6), 0 0 30px rgba(255, 153, 0, 0.3);
        transform: scale(1.05);
    }
}

/* Text Styles */
.welcome-text {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--amazon-blue);
    font-size: 1.2rem;
    font-weight: 600;
}

.waiting-text {
    font-size: 1.8rem;
    color: var(--amazon-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    animation: textPulse 2s ease-in-out infinite;
}

.status-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    user-select: text;
    width: 100%;
}

    .form-control:focus {
        border-color: var(--amazon-orange);
        box-shadow: 0 0 0 0.2rem rgba(255, 153, 0, 0.25);
        background: white;
        transform: translateY(-2px);
        outline: none;
    }

    /* Remove default password reveal buttons */
    .form-control::-ms-reveal,
    .form-control::-ms-clear {
        display: none;
    }

    .form-control::-webkit-credentials-auto-fill-button,
    .form-control::-webkit-strong-password-auto-fill-button {
        display: none !important;
    }

    .form-control[type="password"]::-moz-password-reveal {
        display: none;
    }

/* Input Icons */
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--amazon-orange);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .input-icon:hover {
        color: var(--amazon-hover);
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 10;
}

    .password-toggle:hover {
        color: var(--amazon-orange);
    }

/* Image Upload Styles */
.image-upload-container {
    margin-bottom: 2rem;
}

.image-upload-zone {
    border: 2px dashed #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
    cursor: pointer;
}

    .image-upload-zone:hover {
        border-color: var(--amazon-orange);
        background: #fff8f0;
    }

    .image-upload-zone.dragover {
        border-color: var(--amazon-orange);
        background: #fff8f0;
        transform: scale(1.02);
    }

.image-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--amazon-orange);
    margin: 0 auto 1rem;
    display: none;
    animation: fadeInScale 0.5s ease-out;
}

    .image-preview.show {
        display: block;
    }

.upload-icon {
    font-size: 3rem;
    color: var(--amazon-orange);
    margin-bottom: 1rem;
    display: block;
}

.upload-text {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.upload-subtext {
    color: #999;
    font-size: 0.9rem;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .remove-image:hover {
        background: #c82333;
        transform: scale(1.1);
    }

    .remove-image.show {
        display: flex;
    }

/* Birthday Input Styles */
.birthday-container {
    position: relative;
}

.birthday-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.age-warning {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

    .age-warning.show {
        display: block;
    }

.age-success {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

    .age-success.show {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn-primary {
    background: linear-gradient( 135deg, var(--amazon-orange), var(--amazon-hover) );
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    color: white;
    cursor: pointer;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--amazon-hover), #cc5500);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
        color: white;
    }

    .btn-primary:active {
        transform: translateY(0);
    }

    .btn-primary:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.btn-google {
    background: #ffffff;
    border: 1px solid var(--google-border);
    color: var(--google-text);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: "Roboto", Arial, sans-serif;
    cursor: pointer;
}

    .btn-google:hover {
        background: #f8f9fa;
        border-color: #dadce0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        color: var(--google-text);
        text-decoration: none;
    }

    .btn-google:active {
        background: #f1f3f4;
    }

    .btn-google:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3);
    }

.google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Divider */
.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: #666;
}

    .divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, #ddd, transparent);
    }

    .divider span {
        background: white;
        padding: 0 20px;
        position: relative;
        z-index: 1;
    }

/* Link Styles */
.signup-link,
.signin-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

    .signup-link a,
    .signin-link a {
        color: var(--amazon-orange);
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
    }

        .signup-link a:hover,
        .signin-link a:hover {
            color: var(--amazon-hover);
            text-decoration: none;
        }

.forgot-password {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

    .forgot-password a {
        color: var(--amazon-orange);
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .forgot-password a:hover {
            color: var(--amazon-hover);
            text-decoration: underline;
        }

/* Form Check Styles */
.remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.form-check {
    margin-bottom: 0;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .form-check-input:checked {
        background-color: var(--amazon-orange);
        border-color: var(--amazon-orange);
    }

    .form-check-input:focus {
        border-color: var(--amazon-orange);
        box-shadow: 0 0 0 0.2rem rgba(255, 153, 0, 0.25);
        outline: none;
    }

.form-check-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

/* E-commerce Icons */
.ecommerce-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.ecommerce-icon {
    font-size: 2rem;
    color: var(--amazon-orange);
    animation: bounce 2s infinite;
}

    .ecommerce-icon:nth-child(2) {
        animation-delay: 0.5s;
    }

    .ecommerce-icon:nth-child(3) {
        animation-delay: 1s;
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Amazon Smile Animation */
.amazon-smile {
    margin-bottom: 2rem;
    animation: smileBounce 2s ease-in-out infinite;
}

@keyframes smileBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

/* Worker Animation */
.amazon-worker {
    margin: 2rem 0;
    position: relative;
}

.worker-container {
    display: inline-block;
    position: relative;
    animation: workerFloat 4s ease-in-out infinite;
}

@keyframes workerFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-5px) rotate(0deg);
    }

    75% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

/* Package Animation */
.packages-animation {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.package {
    animation: packageBounce 1.5s ease-in-out infinite;
}

    .package:nth-child(2) {
        animation-delay: 0.3s;
    }

    .package:nth-child(3) {
        animation-delay: 0.6s;
    }

@keyframes packageBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

/* Custom Spinner for Waiting Page */
.custom-spinner {
    width: 80px;
    height: 80px;
    margin: 2rem auto;
    position: relative;
}

.spinner-ring {
    position: absolute;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: spinRotate 2s linear infinite;
}

    .spinner-ring:nth-child(1) {
        width: 80px;
        height: 80px;
        border-top-color: var(--amazon-orange);
        border-right-color: var(--amazon-orange);
        animation-duration: 1.5s;
    }

    .spinner-ring:nth-child(2) {
        width: 60px;
        height: 60px;
        top: 10px;
        left: 10px;
        border-bottom-color: var(--amazon-blue);
        border-left-color: var(--amazon-blue);
        animation-duration: 2s;
        animation-direction: reverse;
    }

    .spinner-ring:nth-child(3) {
        width: 40px;
        height: 40px;
        top: 20px;
        left: 20px;
        border-top-color: var(--amazon-gold);
        border-right-color: var(--amazon-gold);
        animation-duration: 1s;
    }

@keyframes spinRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress Bar */
.progress-container {
    margin: 2rem 0;
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-animated {
    height: 100%;
    background: linear-gradient( 90deg, var(--amazon-orange), var(--amazon-gold), var(--amazon-orange) );
    background-size: 200% 100%;
    animation: progressFlow 2s linear infinite, progressGrow 4s ease-in-out infinite;
    width: 0%;
}

@keyframes progressFlow {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes progressGrow {
    0% {
        width: 20%;
    }

    50% {
        width: 80%;
    }

    100% {
        width: 20%;
    }
}

/* Service Icons */
.service-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--amazon-orange);
    animation: iconBounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .service-icon:nth-child(2) {
        animation-delay: 0.5s;
    }

    .service-icon:nth-child(3) {
        animation-delay: 1s;
    }

    .service-icon:hover {
        color: var(--amazon-hover);
        transform: scale(1.2);
    }

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

/* Back Home Button */
.back-home-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    animation: slideInLeft 0.8s ease-out;
}

.back-home-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient( 135deg, var(--amazon-orange), var(--amazon-hover) );
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    border: none;
    cursor: pointer;
    user-select: none;
}

    .back-home-btn:hover {
        background: linear-gradient(135deg, var(--amazon-hover), #cc5500);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
        color: white;
        text-decoration: none;
    }

    .back-home-btn:active {
        transform: translateY(0);
    }

    .back-home-btn i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .back-home-btn:hover i {
        transform: translateX(-2px);
    }

    .back-home-btn span {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container,
    .register-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .waiting-card {
        padding: 2rem 1.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .amazon-logo {
        font-size: 2.5rem;
    }

    .image-upload-zone {
        padding: 1.5rem;
    }

    .upload-icon {
        font-size: 2.5rem;
    }

    .ecommerce-icon {
        font-size: 1.5rem;
    }

    .welcome-text {
        font-size: 1.1rem;
    }

    .waiting-text {
        font-size: 1.5rem;
    }

    .service-icons {
        gap: 20px;
    }

    .service-icon {
        font-size: 2rem;
    }

    .packages-animation {
        gap: 15px;
    }

    .back-home-container {
        top: 15px;
        left: 15px;
    }

    .back-home-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

        .back-home-btn span {
            font-size: 11px;
        }
}

@media (max-width: 576px) {
    .login-container,
    .register-container {
        border-radius: 15px;
        padding: 1rem;
    }

    .waiting-card {
        border-radius: 15px;
        padding: 1.5rem 1rem;
    }

    .form-control {
        padding: 10px 12px;
    }

    .btn-primary,
    .btn-google {
        padding: 10px 20px;
    }

    .image-upload-zone {
        padding: 1rem;
    }

    .upload-icon {
        font-size: 2rem;
    }

    .remember-me {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .back-home-btn span {
        display: none;
    }

    .back-home-btn {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

        .back-home-btn i {
            font-size: 14px;
        }

    .custom-spinner {
        width: 60px;
        height: 60px;
    }

    .spinner-ring:nth-child(1) {
        width: 60px;
        height: 60px;
    }

    .spinner-ring:nth-child(2) {
        width: 45px;
        height: 45px;
        top: 7.5px;
        left: 7.5px;
    }

    .spinner-ring:nth-child(3) {
        width: 30px;
        height: 30px;
        top: 15px;
        left: 15px;
    }

    .waiting-text {
        font-size: 1.3rem;
    }

    .amazon-logo {
        font-size: 2rem;
    }
}

/* Additional utility classes for page-specific overrides */
.auth-page .particles .particle {
    animation: particle-float 8s infinite linear;
}

.waiting-page .particles .particle {
    border-radius: 50%;
    pointer-events: none;
}

/* Focus states for accessibility */
.btn-primary:focus,
.btn-google:focus,
.back-home-btn:focus {
    outline: 2px solid var(--amazon-orange);
    outline-offset: 2px;
}

.form-control:focus {
    outline: none;
}

div[asp-validation-summary] ul,
div[asp-validation-summary] li {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Print styles */
@media print {
    .animated-bg,
    .particles,
    .back-home-container {
        display: none;
    }

    .login-container,
    .register-container,
    .waiting-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

