/* ========================================
   AutoSign365 Loading Page
   ======================================== */

body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    box-sizing: border-box;
}

.loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 320px;
    text-align: center;
}

/* --- Logo --- */
.loading-logo {
    display: none;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    animation: fade-in 0.6s ease-in forwards;
}

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Spinner --- */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top: 3px solid #a43f13;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Text --- */
.loading-primary {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.4;
}

.loading-secondary {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

/* --- Footer --- */
.loading-footer {
    margin-top: auto;
    padding-top: 24px;
    font-size: 0.7rem;
    color: #aaa;
    text-align: center;
}
