/* Google Fonts: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FF512F;
    --secondary: #DD2476;
    --text-main: #2b2b2b;
    --text-light: #6b6b6b;
    --bg-input: rgba(255, 255, 255, 0.7);
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* Background Animated Orbs for premium feel */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: #FFD200;
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite alternate;
}

.shape2 {
    width: 500px;
    height: 500px;
    background: #FF512F;
    bottom: -150px;
    right: -100px;
    animation: float 10s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    z-index: 10;
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--text-main);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: var(--bg-input);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 81, 47, 0.2);
    background: #fff;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 2.3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.form-control:focus + .form-icon,
.form-control:focus ~ .form-icon {
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(221, 36, 118, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 36, 118, 0.4);
}

.btn-submit:active {
    transform: translateY(1px);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.auth-footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-error {
    background: rgba(255, 76, 76, 0.1);
    color: #ff4c4c;
    border: 1px solid rgba(255, 76, 76, 0.2);
}

.alert-success {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.2);
}

/* Signup specific layout for two columns */
.row {
    display: flex;
    gap: 1rem;
}
.row .form-group {
    flex: 1;
}

@media (max-width: 480px) {
    .row {
        flex-direction: column;
        gap: 0;
    }
}
