/* General */
body {
    background: #f9f6f1; /* soft feminine pastel */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Login Card */
.login-card {
    max-width: 400px;
    margin: 80px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
	border: 1px solid #e5decf; /* subtle beige border */
}

.brand-logo {
    width: 150px;
    display: block;
    margin: 0 auto 15px;
}

.title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #42311c; /* brand text color */
    margin-bottom: 25px;
}

/* Buttons */
.btn-custom {
    background-color: #9b884c; /* gold accent */
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #42311c; /* dark brown */
    color: #fff;
}

.btn-outline-custom {
    border: 2px solid #9b884c;
    color: #9b884c;
    font-weight: 600;
    border-radius: 30px;
    margin-left: 10px;
    transition: 0.3s;
}

.btn-outline-custom:hover {
    background: #9b884c;
    color: #fff;
}

.error {
    color: red;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

/* Ensure full height */
html, body {
    height: 100%;
    margin: 0;
}

/* Fullscreen Background for Login */
body.login-page {
    background: url('loginbg.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body.login-page::before {
    content: "";
    position: fixed; /* fixed makes sure it covers viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px); /* blur effect */
    background-color: rgba(255, 255, 255, 0.35); /* soft white overlay */
    z-index: 0;
}

/* Make login card appear above bg overlay */
.login-card {
    position: relative;
    z-index: 1;
}

/* Dashboard Title */
.dashboard-title {
    font-size: 26px;
    font-weight: bold;
    color: #42311c;
}

/* Navbar */
.custom-navbar {
    background-color: #fff;
    border-bottom: 2px solid #f1e7d3;
    padding: 10px 20px;
}

.nav-logo {
    width: 80px;
    margin-right: 8px;
}

.navbar-brand {
    font-weight: bold;
    color: #42311c !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #42311c !important;
    margin-left: 15px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #9b884c !important;
}

/* Welcome Box */
.welcome-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.welcome-logo {
    width: 70px;
    margin-bottom: 15px;
}

.welcome-title {
    font-size: 26px;
    font-weight: bold;
    color: #42311c;
    margin-bottom: 10px;
}

.welcome-text {
    font-size: 16px;
    color: #6c5b43;
}

/* Center navbar items */
.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* space between items */
}

/* Separator */
.separator {
    color: #d4a373; /* soft beige */
    font-weight: bold;
    margin: 0 6px;
    list-style: none;
}

/* Ensure logout aligns well */
.btn-logout {
    background-color: #e07a5f;
    color: #fff !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: 8px;
    transition: 0.3s;
}

.btn-logout:hover {
    background-color: #42311c;
    color: #fff !important;
}

/* Navbar Dropdown Styling */
.navbar-nav .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #f1e7d3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 200px;
}

.navbar-nav .dropdown-item {
    font-weight: 500;
    color: #42311c;
    transition: 0.3s;
}

.navbar-nav .dropdown-item:hover {
    background-color: #9b884c;
    color: #fff;
}

/* Logout Icon Button */
.btn-logout {
    background-color: #e07a5f;
    color: #fff !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: 10px;
    transition: 0.3s;
}

.btn-logout:hover {
    background-color: #42311c;
    color: #fff !important;
}


/* Status Cards */
.status-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.status-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #42311c;
}

.status-card .count {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}

/* Specific colors for dashboard cards */
.status-card.total {
    border: 1px solid #e5decf; /* light beige border */
    border-top: 6px solid #9b884c; /* Gold top border */
}

.status-card.inprogress {
	border: 1px solid #e5decf; /* light beige border */
    border-top: 6px solid #d4a373; /* Warm beige */
    color: #6c5b43; /* soft text tone */
}

.status-card.purchased {
	border: 1px solid #e5decf; /* light beige border */
    border-top: 6px solid #42311c; /* Dark brown */
    color: #42311c;
}

.status-card.rejected {
	border: 1px solid #e5decf; /* light beige border */
    border-top: 6px solid #e07a5f; /* Muted coral */
    color: #e07a5f;
}

.btn-logout {
    background-color: #e07a5f; /* coral */
    color: #fff !important;
    border-radius: 50%;
    padding: 8px 12px;
    margin-left: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.btn-logout:hover {
    background-color: #42311c; /* dark brown */
    color: #fff !important;
}

/* Enhanced Welcome Box */
.welcome-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid #e5decf; /* subtle beige border */
}

.welcome-photo img {
    width: 180px;
    height: 180px;
    border-radius: 90%;
    border: 4px solid #9b884c; /* brand gold */
    object-fit: cover;
}

.welcome-info {
    flex: 1;
}

.welcome-title {
    font-size: 26px;
    font-weight: bold;
    color: #42311c;
    margin-bottom: 8px;
}

.welcome-details {
    font-size: 15px;
    color: #6c5b43;
    margin-bottom: 12px;
    line-height: 1.6;
}

.welcome-text {
    font-size: 15px;
    color: #42311c;
}

.dropdown-menu {
    z-index: 1050; /* higher than navbar and other elements */
    position: absolute; /* required for proper placement */
}

/* Dropdown on hover for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .navbar .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Reports Section */
.status-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #9b884c; /* gold accent for headers */
}

.status-card p {
    margin: 5px 0;
    font-size: 15px;
    color: #42311c;
}

/* Footer */
.custom-footer {
    background: #42311c; /* brand dark brown */
    border-top: 3px solid #9b884c; /* gold accent */
    padding: 25px 0 35px 0; /* extra bottom margin inside footer */
    color: #fff; /* white text */
    font-size: 14px;
    margin-top: 50px; /* spacing from content above */
}

.custom-footer p {
    margin: 0;
    color: #f1e7d3; /* soft beige for text */
}

/* Package benefits hover effect - updated with rounded corners */
.status-card.package-card .package-benefits li {
    background-color: #fff;       /* base background */
    border-radius: 6px;           /* slightly rounded corners */
    padding: 6px 14px;            /* slightly reduced vertical padding */
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;              /* slightly smaller font */
    border-top: 0 solid transparent; /* top border placeholder */
}

.status-card.package-card .package-benefits li:hover {
    background-color: #f1e7d3;    /* hover effect */
}

.status-card.package-card .package-benefits li:hover {
    background-color: #fdf2d5;       /* soft hover color */
    border-top: 4px solid #9b884c;   /* gold top border */
    transform: translateY(-1px);      /* subtle lift effect */
}
.package-benefits li i {
    color: #9b884c; /* theme gold color */
    font-size: 14px; /* small and clean */
}
.price-btn {
    display: block;
    width: 100%;
    background-color: #9b884c; /* brand gold */
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.price-btn:hover {
    background-color: #42311c; /* dark brown on hover */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: #9b884c; /* premium theme gold */
    color: #fff;               /* icon color */
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
