﻿:root {
    --primary: #5e17eb;
    --primary-hover: #4f46e5;
    --text: #1e293b;
    --light-text: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-selector select {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
}


.register-container {
    background-color: var(--white);
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 40px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    margin-top: 20px;
}

    .register-container:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

    .logo img {
        height: 48px;
    }

.progress-bar {
    height: 6px;
    background-color: var(--border);
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary);
    width: 20%;
    transition: width 0.3s ease;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.step-subtitle {
    color: var(--light-text);
    text-align: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

input, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: var(--bg);
}

    input:focus, select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    }

.otp-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    margin: 0 5px;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

    .btn:hover {
        background-color: var(--primary-hover);
        transform: translateY(-1px);
    }

    .btn:active {
        transform: translateY(0);
    }

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    margin-top: 12px;
}

    .btn-secondary:hover {
        background-color: var(--bg);
    }

.hidden {
    display: none;
}

.password-strength {
    height: 4px;
    background-color: var(--border);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.error-message {
    color: var(--error);
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.success-message {
    color: var(--success);
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.back-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .back-link:hover {
        color: var(--primary-hover);
        text-decoration: underline;
    }

    .back-link svg {
        margin-right: 6px;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .register-container {
        padding: 32px 24px;
    }

    .otp-input {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }
}
