/* NoPass Dealer Management System - Public Styles */

/* Reset and Base */
* {
    box-sizing: border-box;
}

.nopass-dealer-login-container,
.nopass-dealer-center,
.nopass-dealer-reset-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Disabled button state */
.btn.is-disabled,
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(20%);
}

.withdraw-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #d63638;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nopass-dealer-center {
        padding: 0 10px;
    }
    
    .dealer-header {
        flex-direction: column;
        text-align: center;
    }
    
    .dealer-user-info {
        margin-top: 15px;
    }
}

@media print {
    .dealer-sidebar,
    .dealer-header .logout-btn {
        display: none;
    }
}
