* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    color: #1f2937;
    background: linear-gradient(135deg, #fbcfe8 0%, #e0f2fe 50%, #d9f99d 100%);
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a855f7, #d946ef);
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #10b981, #059669);
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0px, 0px); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 30px); }
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    font-size: 40px;
    opacity: 0.1;
    animation: floatIcon 5s ease-in-out infinite;
}

.icon-1 { top: 10%; left: 5%; animation-delay: 0s; }
.icon-2 { top: 20%; right: 10%; animation-delay: 1s; }
.icon-3 { bottom: 20%; left: 10%; animation-delay: 2s; }
.icon-4 { bottom: 10%; right: 5%; animation-delay: 3s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    margin-left: 570px;
    margin-top: 50px;
}



@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.brand-name {
    font-size: 30px;
    font-weight: 700;
}

.brand-tagline-mini {
    font-size: 24px;
    opacity: 0.7;
    margin-left: -60px;
}

.highlight {
    background: linear-gradient(to right, #38bdf8, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-main h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    animation: slideInLeft 0.8s ease;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
    animation: slideInLeft 0.8s ease 0.1s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Traveler Counter */
.traveler-counter {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(129, 140, 248, 0.2);
    padding: 20px;
    border-radius: 15px;
    margin: 57px 50px;
    animation: slideInLeft 0.8s ease 0.2s both;
    margin-left: 50px;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.counter-number {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.counter-label {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.counter-divider {
    width: 1px;
    height: 40px;
    background: rgba(129, 140, 248, 0.3);
}

.rating-stars {
    font-size: 16px;
}

.auth-card {
    width: 150%;
    max-width: 700px;
    padding: 2.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.95) 100%);
    border: 2px solid rgba(129, 140, 248, 0.3);
    box-shadow: 0 15px 40px rgba(129, 140, 248, 0.15);
    animation: slideInUp 0.8s ease 0.3s both;
    margin-left: 310px;
   
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
    display: flex;
    align-items: center;
    animation: slideInLeft 0.6s ease backwards;
}

.form-group:nth-child(1) { animation-delay: 0.4s; }
.form-group:nth-child(2) { animation-delay: 0.5s; }
.form-group:nth-child(3) { animation-delay: 0.6s; }

.input-icon {
    position: absolute;
    left: 12px;
    font-size: 18px;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 12px;
    border: 2px solid rgba(129, 140, 248, 0.3);
    background: rgba(255, 255, 255, 0.8);
    color: #1f2937;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    border-color: #818cf8;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.input-checkmark {
    position: absolute;
    right: 12px;
    font-size: 16px;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-input:valid ~ .input-checkmark {
    opacity: 1;
}

.btn-primary {
    width: 100%;
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(129, 140, 248, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 1;
}

/*.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: ripple-animation 0.6s ease-out;
}*/

@keyframes ripple-animation {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.alert {
    display: none;
    padding: 0.75rem;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    font-size: 13px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(185, 28, 28, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.8);
    color: #fca5a5;
}

.alert-success {
    background: rgba(21, 128, 61, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.8);
    color: #86efac;
}

/* Social Divider */
.social-divider {
    margin: 1.5rem 0 1rem 0;
    text-align: center;
    position: relative;
    color: #9ca3af;
    font-size: 12px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: rgba(148, 163, 184, 0.3);
}

.social-divider::before {
    left: 0;
}

.social-divider::after {
    right: 0;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid rgba(129, 140, 248, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.social-btn:hover {
    background: rgba(129, 140, 248, 0.1);
    border-color: rgba(129, 140, 248, 0.4);
    color: #6366f1;
    transform: translateY(-2px);
}

.social-icon {
    font-size: 18px;
}

.social-text {
    display: none;
}

@media (min-width: 768px) {
    .social-text {
        display: inline;
    }
}

/* Success Overlay */
.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    animation: checkmarkScale 0.6s ease;
}

@keyframes checkmarkScale {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-content p {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

/* Helper text */
.helper-text {
    font-size: 12px;
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .hero-main h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 1rem;
    }

    .hero-main h1 {
        font-size: 28px;
    }

    .traveler-counter {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .counter-divider {
        display: none;
    }

    .auth-card {
        max-width: 100%;
    }
}