.error {
    color: #ec4561;
}
/* Loader styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animation for the spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hidden state */
.hidden {
    display: none;
}

/* Button styling (optional) */
.button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.button:hover {
    background-color: #217dbb;
}
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #334289);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #f5365c 0%, #f56036 100%);
}
.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}
.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #61a728 100%);
}
.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffc107 100%);
}
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #f8f9fa 100%);
}
.bg-gradient-purple {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.shadow-lg {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}
.img-160 { width: 150px; height: 150px; object-fit: fill; }
.rounded-3 { border-radius: 10px; }
.upload-btn { display: block; margin: auto; }
