/* Admin Panel Custom Styles */

/* Decorative divider */
.decorative-divider {
    height: 3px;
    background: linear-gradient(90deg, #f8b400, rgba(248, 180, 0, 0.5));
    width: 80px;
    margin-bottom: 25px;
}

/* Section Headings with decorative elements */
.section-heading {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 600;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f8b400, rgba(248, 180, 0, 0.5));
}

/* Stats Cards */
.card-stats {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.card-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(248, 180, 0, 0.1), rgba(248, 180, 0, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8b400;
}

/* Sidebar styling */
.sidebar {
    background: #232931;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 16.666667%;
    z-index: 100;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid rgba(248, 180, 0, 0.1);
}

/* Avatar circle for user profile */
.avatar-circle, .avatar-gradient {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3490dc, #6574cd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.avatar-gradient {
    background: linear-gradient(135deg, #f8b400, #f8b400);
    transition: all 0.3s ease;
}

.avatar-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.initials {
    font-size: 16px;
    text-transform: uppercase;
}

/* Sidebar profile */
.sidebar-profile {
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 10px;
}

.sidebar-profile-info {
    overflow: hidden;
}

/* Sidebar headings */
.sidebar-heading {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 15px;
    transition: all 0.3s;
    border-radius: 5px;
    margin: 2px 0;
    display: flex;
    align-items: center;
}

.sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 10px;
    font-size: 1.1rem;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(248, 180, 0, 0.2), rgba(248, 180, 0, 0.05));
    color: #f8b400;
    border-left: 3px solid #f8b400;
}

.sidebar-nav {
    padding: 0 15px;
}

/* Content wrapper styling */
.content-wrapper {
    margin-left: 16.666667%;
    padding: 0;
    min-height: 100vh;
    background-color: #f8f9fc;
    transition: all 0.3s;
}

/* Main container background */
.main-container {
    background-color: #232931;
}

/* Top header styling */
.top-header {
    background-color: #fff;
    border-bottom: 1px solid #e3e6f0;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

/* Navbar styling */
.admin-navbar {
    background: linear-gradient(90deg, rgb(248, 180, 0) 0%, rgb(35, 41, 49) 35%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 1rem;
}

/* Content area with generous vertical spacing */
.content-wrapper {
    padding: 30px;
}

.main-content {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Decorative elements for cards */
.card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Admin gradient button with hover effects */
.admin-gradient-button {
    background: linear-gradient(135deg, #f8b400, rgb(35, 41, 49));
    border: none;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 12px 25px;
}

.admin-gradient-button:hover {
    background: linear-gradient(135deg, rgb(35, 41, 49), #f8b400);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(248, 180, 0, 0.3);
}

/* Card header with gradient background */
.bg-gradient-primary {
    background: linear-gradient(135deg, rgb(35, 41, 49), #f8b400);
    color: white;
}

/* Generous vertical spacing for major sections (client preference) */
.section-spacer {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Login page feature icons */
.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.feature-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Input group styling */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: #3490dc;
    transition: all 0.3s ease;
}

.input-group .form-control {
    border-left: none;
    height: 50px;
}

.input-group:focus-within .input-group-text {
    border-color: #3490dc;
    background-color: rgba(52, 144, 220, 0.05);
}

.input-group .form-control:focus + .input-group-prepend .input-group-text,
.input-group .input-group-prepend .input-group-text + .form-control:focus {
    border-color: #3490dc;
    box-shadow: none;
}

/* Modern login form styling */
.login-form-container {
    max-width: 1000px;
    min-height: 600px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
}

.login-branding-side {
    flex: 1;
    background: linear-gradient(135deg, rgb(35, 41, 49), #f8b400);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-form-side {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Special founder treatment (client preference) */
.founder-card {
    border-left: 4px solid #f8b400;
    background: linear-gradient(135deg, rgba(248, 180, 0, 0.05), rgba(35, 41, 49, 0.05));
    padding: 25px;
    border-radius: 8px;
}

.founder-card img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Decorative dividers */
.decorative-divider {
    height: 3px;
    background: linear-gradient(90deg, #3490dc, #6574cd);
    width: 80px;
    margin: 20px 0;
}

/* Border left utility classes */
.border-left-primary {
    border-left: 4px solid #4e73df;
}

.border-left-success {
    border-left: 4px solid #1cc88a;
}

.border-left-info {
    border-left: 4px solid #36b9cc;
}

.border-left-warning {
    border-left: 4px solid #f6c23e;
}

.border-left-danger {
    border-left: 4px solid #e74a3b;
}

/* Text color utilities */
.text-purple {
    color: #6f42c1;
}

.border-left-purple {
    border-left: 4px solid #6f42c1;
}

/* Breadcrumb styling */
.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    font-size: 1.2rem;
    line-height: 1;
    color: #6c757d;
}

.breadcrumb-wrapper .breadcrumb-item a {
    color: #3490dc;
    font-weight: 500;
    transition: all 0.2s;
}

.breadcrumb-wrapper .breadcrumb-item a:hover {
color: #1d68a7;
text-decoration: none;
}

.breadcrumb-wrapper .breadcrumb-item.active {
font-weight: 600;
color: #2a3f54;
}

.card-header {
border-bottom: 0;
font-weight: 600;
color: #2a3f54;
}

/* List group hover effects */
.list-group-item-action {
transition: all 0.3s ease;
}

.list-group-item-action:hover {
    background-color: rgba(52, 144, 220, 0.05);
}

/* Form controls */
.form-control:focus {
    border-color: #3490dc;
    box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

/* Buttons with gradient background */
.btn-gradient {
    background: linear-gradient(135deg, #f8b400, rgb(35, 41, 49));
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, rgb(35, 41, 49), #f8b400);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(248, 180, 0, 0.2);
}

/* Page section spacing */
.section-lg {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-xl {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Special treatment for founder */
.founder-card {
    border-left: 4px solid #3490dc;
    background: linear-gradient(135deg, rgba(52, 144, 220, 0.05), rgba(101, 116, 205, 0.05));
}

/* Dashboard styling enhancements */
.dashboard-header {
    padding-top: 80px;
    padding-bottom: 60px;
}

.section-subheading {
    color: #2a3f54;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.stats-section {
    background-color: #f8f9fc;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.05);
}

/* Enhanced founder section styling */
.founder-image-wrapper {
    position: relative;
    display: inline-block;
}

.founder-image-wrapper img {
    transition: all 0.3s ease;
}

.founder-image-wrapper:hover img {
    transform: scale(1.05);
}

.founder-badge {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

.founder-content {
    position: relative;
}

/* Border left utility for alerts */
.border-left-success {
    border-left: 4px solid #38c172;
}

.border-left-danger {
    border-left: 4px solid #e3342f;
}

.border-left-info {
    border-left: 4px solid #36b9cc;
}

/* Dashboard metrics */
.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0;
    background: linear-gradient(135deg, #f8b400, rgb(35, 41, 49));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.metric-container {
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.metric-container:hover {
    background-color: rgba(248, 180, 0, 0.05);
    transform: translateY(-5px);
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Brand text and underline */
.brand-text {
    position: relative;
    padding-bottom: 2px;
    color: #ffffff;
}

.brand-underline {
    height: 2px;
    background: linear-gradient(90deg, #f8b400, #ffffff);
    width: 100%;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-underline {
    background: linear-gradient(90deg, #ffffff, #f8b400);
}

/* Notification system */
.notification-icon {
    font-size: 1.2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #f8b400, #f8b400);
    color: rgb(35, 41, 49);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.notification-dropdown {
    width: 320px;
    padding: 0;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.notification-dropdown .dropdown-header {
    background: linear-gradient(135deg, #f8f9fc, #fff);
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.notification-item:hover {
    background-color: rgba(52, 144, 220, 0.05);
}

.notification-item.unread {
    background-color: rgba(52, 144, 220, 0.05);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.notification-content {
    flex: 1;
}

.dropdown-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-footer a {
    color: #3490dc;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-footer a:hover {
    color: #1d68a7;
    text-decoration: none;
}

/* View site button */
.btn-view-site {
    background: linear-gradient(135deg, #f8b400, #f8b400);
    color: rgb(35, 41, 49);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-site:hover {
    background: linear-gradient(135deg, #ffffff, #f8b400);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: rgb(35, 41, 49);
}

/* User dropdown styling */
.user-dropdown {
    border-radius: 8px;
    border: none;
    min-width: 200px;
}

.user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
}
