@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #4680ff 0%, #1b1f28 100%);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #4680ff;
    text-decoration: none;
}

.back-button:hover {
    transform: translateX(-5px);
}

.auth-form-main-page {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-header h1 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    color: #666;
    font-size: 0.9rem;
}

.alert-error {
    background-color: #fff2f2;
    color: #ff4444;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form-input {
    margin-bottom: 1.5rem;
}

.auth-form-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-size: 0.9rem;
    font-weight: 500;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.auth-form-input input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form-input input:focus {
    border-color: #4680ff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(70, 128, 255, 0.1);
}

.auth-form-submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: #4680ff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    /*transition: all 0.3s ease;*/
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-form-submit-btn:hover {
    background: #3670ff;
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.2);
}

.auth-form-submit-btn:active {
  /*  transform: translateY(0);*/
}

.text-error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: block;
}

@media (max-width: 480px) {
    .auth-form-main-page {
        padding: 1.5rem;
        margin: 1rem;
    }

    .back-button {
        top: 20px;
        left: 20px;
    }
}
