* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.phone-container {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.status-bar {
    height: 44px;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.status-left {
    display: flex;
    align-items: center;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.battery {
    width: 25px;
    height: 12px;
    border: 1px solid #fff;
    border-radius: 2px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: #fff;
    border-radius: 0 1px 1px 0;
}

.battery-level {
    height: 100%;
    width: 80%;
    background: #fff;
    border-radius: 1px;
}

.login-container {
    height: calc(100% - 44px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
}

.logo-section {
    text-align: center;
    margin-bottom: 60px;
}

.logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.logo-icon {
    font-size: 40px;
    color: #fff;
}

.system-name {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.system-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.login-form {
    width: 100%;
    max-width: 280px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.input-field {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 25px;
    padding: 0 20px;
    font-size: 16px;
    color: #333;
    backdrop-filter: blur(10px);
}

.input-field:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.input-field::placeholder {
    color: #999;
}

.role-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.role-option {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 21px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.role-option.active {
    background: #fff;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-btn {
    width: 100%;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 25px;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.login-btn:active {
    transform: translateY(0);
}



@media (max-width: 400px) {
    .phone-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 0;
    }
    
    .phone-screen {
        border-radius: 0;
    }
} 