/* 
    Section Ringkasan Performa Web di dasbor pada panel admin
*/
/* Styles for the luxury section */
.luxury-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.luxury-subtitle {
    font-size: 1.2rem;
    color: #777;
    font-weight: 400;
    margin-bottom: 40px;
}

.luxury-cards .luxury-card {
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f2f2f2, #ffffff);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.luxury-cards .luxury-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(5, 67, 109, 0.5); /* Blue box-shadow with some transparency */
}

.luxury-card-title {
    font-size: 1.5rem;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.luxury-card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px;
}

/* Styling for each specific color text */
.text-primary {
    color: #007bff;
}

.text-warning {
    color: #ffc107;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

/* 
    Buttton lihat detail performa web
*/
/* Add animation on hover for the button */
.btn-detail-performa {
    position: relative;
    background-color: #007bff; /* Custom background color */
    color: white; /* Text color */
    font-size: 16px;
    padding: 12px 24px;
    border: 2px solid #007bff;
    border-radius: 30px; /* Rounded corners */
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-detail-performa::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
}

.btn-detail-performa:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-detail-performa:hover {
    background-color: #0056b3; /* Hover background color */
    color: #f0f0f0; /* Change text color on hover */
    border-color: #0056b3; /* Change border color */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.btn-detail-performa:focus {
    outline: none;
}

/* 
    Alert jika file performa web belum di-import
*/
/* Custom Alert Styles */
.luxury-alert {
    background: linear-gradient(135deg, #05436d, #03658c); /* Blue gradient background */
    color: white; /* Text color */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition */
}

.luxury-alert:hover {
    transform: scale(1.03); /* Slight zoom effect on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.luxury-alert .alert-heading {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.luxury-alert p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.luxury-alert strong {
    font-weight: 500;
    color: #f5a623; /* Elegant gold accent */
}

/* 
    Badge versi SINDESA
*/
.badge-custom {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 15px;
    text-transform: uppercase;
    box-shadow: 0px 2px 10px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center; /* Center text inside badge */
    letter-spacing: 0.5px;
}

.nav-link {
    display: flex;
    align-items: center; /* Center badge next to text */
}

/* PRO: Royal Teal & Gold */
.badge-pro {
    background: linear-gradient(135deg, #06A77D, #D5C67A);
    color: #fff;
}

/* ULTIMATE: Royal Blue */
.badge-ultimate {
    background: linear-gradient(135deg, #4169E1, #1E3A8A);
    color: #fff;
}

/* PREMIERE: Titanium Luxe */
.badge-premiere {
    background: linear-gradient(135deg, #969A97, #E5ECE9);
    color: #222;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

/* ANJUNGAN: Imperial Glow */
.badge-anjungan {
    background: linear-gradient(135deg, #731DD8, #E8E8E8);
    color: #222;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.ms-2 {
    margin-left: 8px; /* Add slight spacing */
}

/* 
    Modal untuk restore data
*/
#restoreKeluargaModal .modal-body {
    font-size: 1rem; /* default is 0.875rem (small) */
}

#restoreKeluargaModal h5.modal-title,
#restoreKeluargaModal h6 {
    font-size: 1.2rem;
}

#restoreKeluargaModal dt {
    font-weight: 600;
    font-size: 1rem;
}

#restoreKeluargaModal dd {
    font-size: 0.95rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #ccc;
}

#restoreKeluargaModal .modal-body dl.row dt {
    font-weight: 500;
    color: #333;
}

#restoreKeluargaModal .modal-body dl.row dd {
    margin-bottom: .5rem;
    border-bottom: 1px dashed #ddd;
    padding-bottom: .3rem;
}

#restoreKeluargaModal .modal-footer .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0.4rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}