/* Secure Client Files - Base Styles */

/* Hide admin bar on custom pages */
body.scf-page .admin-bar {
    display: none !important;
}

body.scf-page {
    margin-top: 0 !important;
}

/* Loading spinner */
.scf-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f0f0f0;
    border-top-color: #333;
    border-radius: 50%;
    animation: scf-spin 0.8s linear infinite;
}

@keyframes scf-spin {
    to { transform: rotate(360deg); }
}

/* Toast notifications */
.scf-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    animation: scf-slide-in 0.3s ease;
}

.scf-toast.success {
    background: #28a745;
}

.scf-toast.error {
    background: #dc3545;
}

@keyframes scf-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
