/* Font Import */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-medium.ttf') format('truetype');
    font-weight: 500;
}



/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Auth Container */
.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    padding: 40px 32px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: #111827;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

/* Form Styles */
.auth-form {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Password Container */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

.toggle-password:hover {
    color: #374151;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.forgot-link {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-decoration: underline;
}

.forgot-link:hover {
    color: #1d4ed8;
}

/* Buttons */
.auth-button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-button.primary {
    background: #111827;
    color: white;
}

.auth-button.primary:hover {
    background: #1f2937;
}

.auth-button.telegram {
    background: #0088cc;
    color: white;
    margin-top: 16px;
    margin-bottom: 24px;
}

.auth-button.telegram:hover {
    background: #0077b3;
}

.telegram-icon {
    width: 20px;
    height: 20px;
}

/* Divider - removed */

/* Register Link */
.register-link {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.link-button {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 4px;
}

.link-button:hover {
    color: #1d4ed8;
}