/* Additional Component Styles */

/* Loading States */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--text-color);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Notification Toast */
.notification-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid var(--primary-green);
    color: var(--text-color);
    padding: 15px 20px;
    border-radius: 2px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

@keyframes slideIn {
    from {
        transform: translateX(500px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-toast.success {
    border-color: var(--primary-green);
}

.notification-toast.error {
    border-color: #FF6B6B;
}

/* Error Message */
.error-message {
    color: #FF6B6B;
    font-size: 0.85em;
    margin-top: 5px;
    padding: 5px;
    border-left: 2px solid #FF6B6B;
    padding-left: 10px;
}

/* Success Message */
.success-message {
    color: var(--primary-green);
    font-size: 0.85em;
    margin-top: 5px;
    padding: 5px;
    border-left: 2px solid var(--primary-green);
    padding-left: 10px;
}

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

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Print Styles */
@media print {
    body::before {
        display: none;
    }

    .terminal-nav,
    .terminal-footer {
        display: none;
    }

    .content-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
