﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #2b8993 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
}

    .auth-card.active {
        display: block;
        animation: slideIn 0.3s ease;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.input-group {
    position: relative;
}

input[type="text"],
input[type="email"],
input[type="password"]{
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus {
        outline: none;
        border-color: #667eea;
    }

.password-toggle {
    position: absolute;
    left: 15px; /* Changed from right to left */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

    .password-toggle:hover {
        color: #667eea;
    }

    .password-toggle:hover {
        color: #667eea;
    }

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .checkbox-group input[type="checkbox"] {
        width: auto;
    }

    .checkbox-group label {
        margin: 0;
        font-weight: normal;
    }

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #2b8993 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.link-group {
    margin-top: 20px;
    text-align: center;
}

    .link-group a {
        color: #667eea;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

        .link-group a:hover {
            text-decoration: underline;
        }

.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 14px;
}

.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.nav-tab {
    flex: 1;
    padding: 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

    .nav-tab.active {
        background: linear-gradient(135deg, #667eea 0%, #2b8993 100%);
        color: white;
    }

.logo {
   height: 150px;
   width: 120px;
   display: block;
   margin: 0 auto;
}

