/* Reseta margens e define uma fonte amigável */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    justify-content: center;
}

.app-container {
    width: 100%;
    max-width: 400px; /* Limita a largura em telas maiores, mantendo aspecto de celular */
    min-height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

header {
    background-color: #0056b3;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.2rem;
}

.status {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.status.online { background-color: #28a745; }
.status.offline { background-color: #dc3545; }

.perfil-info {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
}

.avatar {
    width: 80px;
    height: 80px;
    background-color: #e9ecef;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
    font-weight: bold;
}

.perfil-info h2 { font-size: 1.3rem; margin-bottom: 5px;}
.perfil-info p { color: #6c757d; font-size: 0.9rem;}

.acoes {
    padding: 40px 20px;
    text-align: center;
    flex-grow: 1;
}

.hora-atual {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 30px;
}

.btn-principal {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #0056b3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
}

.btn-principal:active {
    background-color: #004494;
    transform: scale(0.98);
}

.feedback {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}