body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

.container {
    background: white;
    padding: 2rem 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.heartbeat-logo {
    width: 100px;
    height: auto;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

h1 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1rem;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    font-size: 1rem;
}

input:focus {
    border-color: #3498db;
    outline: none;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #c0392b;
}

.agreement-group {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
}

.agreement-group input {
    width: 20px;
    height: 20px;
    margin-top: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.agreement-group label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}

.message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.success {
    color: #27ae60;
}

.error {
    color: #c0392b;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #95a5a6;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}
