/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
/* General Alert Styles */
.alert {
    position: relative;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Arial", sans-serif;
    color: #fff;
}

/* Custom Error Alert */
.custom-alert-error {
    background-color: #f44336; /* Red background for error */
    border: 1px solid #d32f2f;
}

/* Close Button Styles */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Close Button Hover */
.close-btn:hover {
    color: #000;
}

/* Optional Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#custom-alert {
    animation: fadeIn 0.5s ease;
}

/* Text truncation for listing cards only */
.listing-description-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflow */
    min-height: 2.8em; /* Approximate height for two lines of text (adjust as needed) */
    line-height: 1.4em; /* Adjust based on your font-size and desired line spacing */
}

/* Merchant Registration form error handling css */

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: #dc3545;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.margin_40 {
    margin: 40px;
}

.icon-logout {
    height: 20px;
}

.logout-icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
