* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.mobile-container {
    background: white;
    width: 100%;
    max-width: 414px;
    min-height: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Status Bar */
.status-bar {
    background: #000;
    color: white;
    padding: 5px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    height: 24px;
}

.status-icons {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

/* Header Banner */
.header-banner {
    background: white;
    color: #333;
    padding: 25px 20px 10px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.logo-image {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Login Container */
.login-container {
    flex: 1;
    padding: 20px 25px 15px 25px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0;
    flex-shrink: 0;
    margin-bottom: 0;
}

.form-wrapper {
    width: 100%;
}

.input-group {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    color: #ff3333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: #ff3333;
}

.input-field::placeholder {
    color: #999;
}

/* Buttons Container */
.buttons-container {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 10px;
}

.btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    color: white;
}

.btn-login {
    background: #666;
}

.btn-login:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-new-user {
    background: #666;
}

.btn-new-user:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-text {
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background: white;
    padding: 10px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 0;
    flex-shrink: 0;
}

.footer-icon {
    font-size: 28px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.worker-emoji, .computer-emoji {
    font-size: 24px;
}

.footer-text {
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .mobile-container {
        border-radius: 0;
        min-height: 100vh;
        max-width: 100%;
        width: 100%;
    }
    
    .status-bar {
        display: none; /* Ocultar em dispositivos reais */
    }
    
    /* Header Banner Mobile */
    .header-banner {
        padding: 20px 15px 8px 15px;
    }
    
    .logo-image {
        max-width: 170px;
        max-height: 70px;
    }
    
    /* Login Container Mobile */
    .login-container {
        padding: 15px 20px 10px 20px;
    }
    
    /* Input Fields Mobile */
    .input-group {
        margin-bottom: 20px;
    }
    
    .input-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .input-field {
        padding: 14px 12px;
        font-size: 16px; /* Manter 16px para evitar zoom no iOS */
        border-radius: 8px;
    }
    
    /* Buttons Mobile */
    .buttons-container {
        flex-direction: row;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 8px;
    }
    
    .btn {
        padding: 14px 16px;
        font-size: 14px;
        flex: 1;
        min-width: 0;
    }
    
    .btn-icon {
        width: 22px;
        height: 22px;
    }
    
    .btn-text {
        font-size: 15px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 8px 15px;
    }
    
    .footer-icon {
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    .worker-emoji, .computer-emoji {
        font-size: 20px;
    }
    
    .footer-text {
        font-size: 11px;
    }
}

/* Responsive para telas muito pequenas */
@media (max-width: 360px) {
    .header-banner {
        padding: 15px 10px 5px 10px;
    }
    
    .logo-image {
        max-width: 150px;
        max-height: 60px;
    }
    
    .login-container {
        padding: 12px 15px 8px 15px;
    }
    
    .input-field {
        padding: 12px 10px;
        font-size: 16px;
    }
    
    .btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .footer {
        padding: 6px 10px;
    }
}

/* Responsive para tablets e telas médias */
@media (min-width: 481px) and (max-width: 768px) {
    .mobile-container {
        max-width: 500px;
    }
    
    .header-banner {
        padding: 25px 25px 12px 25px;
    }
    
    .logo-image {
        max-width: 180px;
        max-height: 75px;
    }
    
    .login-container {
        padding: 25px 30px 20px 30px;
    }
    
    .input-field {
        padding: 14px 18px;
    }
    
    .btn {
        padding: 15px 24px;
    }
}

