.form-group {
    margin-bottom: 1.2rem;
}
label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
input[type="text"], input[type="url"], input[type="file"], textarea, select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.input-error {
    border-color: #ef4444;
    background: #fef2f2;
}
/* Toast Notification */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast {
    min-width: 220px;
    max-width: 320px;
    background: #fff;
    color: #222;
    border-radius: 8px;
    box-shadow: 0 4px 24px #0002;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    border-left: 6px solid #2563eb;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}
.toast.success { border-left-color: #22c55e; }
.toast.error { border-left-color: #ef4444; }

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spinner {
    width: 56px;
    height: 56px;
    border: 6px solid #e5e7eb;
    border-top: 6px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 