/* From Uiverse.io by mi-series - Dashboard Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F5F5F5;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #264143;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    color: #EDDCD9;
    font-size: 24px;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.header-brand {
    color: #EDDCD9;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header Search */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 250px;
    padding: 8px 40px 8px 15px;
    border: 2px solid rgba(237, 220, 217, 0.3);
    border-radius: 20px;
    background-color: rgba(237, 220, 217, 0.1);
    color: #EDDCD9;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(237, 220, 217, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: #E99F4C;
    background-color: rgba(237, 220, 217, 0.2);
    width: 280px;
}

.search-btn {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    color: #EDDCD9;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: rgba(237, 220, 217, 0.2);
    color: #E99F4C;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-action-item {
    position: relative;
}

.action-btn {
    background: none;
    border: none;
    color: #EDDCD9;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background-color: rgba(237, 220, 217, 0.1);
    color: #E99F4C;
    transform: translateY(-1px);
}

/* Badge */
.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #DE5499;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* User Button Specific */
.user-btn {
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 14px;
    background-color: rgba(237, 220, 217, 0.1);
    border: 1px solid rgba(237, 220, 217, 0.2);
}

.user-btn:hover {
    background-color: rgba(237, 220, 217, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background-color: #E99F4C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

.user-role {
    font-size: 11px;
    opacity: 0.7;
    line-height: 1;
}

.dropdown-arrow {
    font-size: 12px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.header-action-item.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 12px;
    box-shadow: 3px 4px 0px 1px #E99F4C;
    min-width: 280px;
    max-width: 350px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h4 {
    color: #264143;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.mark-read {
    color: #DE5499;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}

.mark-read:hover {
    text-decoration: underline;
}

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

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(38, 65, 67, 0.05);
    transition: background-color 0.3s ease;
}

.notification-item:hover {
    background-color: rgba(38, 65, 67, 0.03);
}

.notification-item.unread {
    background-color: rgba(222, 84, 153, 0.05);
    position: relative;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #DE5499;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.notification-icon.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.notification-icon.info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.notification-icon.warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.notification-content {
    flex: 1;
}

.notification-title {
    color: #264143;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.notification-text {
    color: #264143;
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    color: #264143;
    font-size: 11px;
    opacity: 0.6;
}

/* Messages */
.message-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(38, 65, 67, 0.05);
    transition: background-color 0.3s ease;
}

.message-item:hover {
    background-color: rgba(38, 65, 67, 0.03);
}

.message-item.unread {
    background-color: rgba(222, 84, 153, 0.05);
}

.message-avatar {
    width: 36px;
    height: 36px;
    background-color: #264143;
    color: #EDDCD9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-sender {
    color: #264143;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.message-text {
    color: #264143;
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 4px;
}

.message-time {
    color: #264143;
    font-size: 11px;
    opacity: 0.6;
}

/* Quick Actions */
.quick-action-list {
    padding: 10px 0;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #264143;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.quick-action-item:hover {
    background-color: rgba(38, 65, 67, 0.05);
    color: #DE5499;
}

.quick-action-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.quick-action-item span {
    font-weight: 500;
}

/* User Menu */
.user-menu {
    right: 0;
    min-width: 250px;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

.user-avatar-large {
    width: 50px;
    height: 50px;
    background-color: #E99F4C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.user-details {
    flex: 1;
}

.user-details .user-name {
    color: #264143;
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
}

.user-details .user-email {
    color: #264143;
    font-size: 13px;
    opacity: 0.7;
}

.user-menu-items {
    padding: 10px 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #264143;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.user-menu-item:hover {
    background-color: rgba(38, 65, 67, 0.05);
    color: #DE5499;
}

.user-menu-item i {
    width: 18px;
    text-align: center;
}

.logout-item {
    color: #dc3545;
}

.logout-item:hover {
    background-color: rgba(220, 53, 69, 0.05);
    color: #dc3545;
}

.menu-divider {
    height: 1px;
    background-color: rgba(38, 65, 67, 0.1);
    margin: 8px 0;
}

.dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(38, 65, 67, 0.1);
    text-align: center;
}

.dropdown-footer a {
    color: #DE5499;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.dropdown-footer a:hover {
    text-decoration: underline;
}

/* Mobile Welcome */
.mobile-welcome {
    display: none;
    color: #EDDCD9;
    font-weight: 600;
    font-size: 14px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 250px;
    height: calc(100vh - 70px);
    background-color: #EDDCD9;
    border-right: 2px solid #264143;
    padding: 20px 0;
    overflow-y: auto;
    z-index: 1002;
    transition: transform 0.3s ease;
    transform: translateX(-250px);
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-dashboard-card {
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 15px;
    box-shadow: 3px 4px 0px 1px #E99F4C;
    padding: 12px 20px;
    margin: 10px 15px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #264143;
    font-weight: 600;
    font-size: 14px;
}

.sidebar-dashboard-card:hover {
    transform: translateY(-1px);
    box-shadow: 4px 5px 0px 1px #E99F4C;
}

.sidebar-dashboard-card .card-header {
    color: #264143;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.sidebar-dashboard-card .card-header i {
    font-size: 20px;
    color: #264143;
}

.sidebar-dashboard-card .card-content {
    color: #264143;
    font-size: 12px;
    line-height: 1.4;
}

.sidebar-dashboard-card .card-content p {
    margin-bottom: 5px;
}

.sidebar-dashboard-card .card-content strong {
    font-weight: 600;
}

.sidebar-profile-card {
    background-color: #264143;
    border: 2px solid #EDDCD9;
    border-radius: 15px;
    box-shadow: 3px 4px 0px 1px #DE5499;
    padding: 15px;
    margin: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.sidebar-profile-card:hover {
    transform: translateY(-1px);
    box-shadow: 4px 5px 0px 1px #DE5499;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    background-color: #EDDCD9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #264143;
    font-size: 16px;
    font-weight: bold;
}

.profile-info {
    flex: 1;
}

.profile-name {
    color: #EDDCD9;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 3px;
}

.profile-email {
    color: rgba(237, 220, 217, 0.8);
    font-size: 11px;
    word-break: break-all;
}

.sidebar-profile-section {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(38, 65, 67, 0.2);
    padding-top: 15px;
}

.sidebar-profile-section .sidebar-profile-card {
    margin: 0 15px;
}

/* Telegram Card Styling */
.telegram-card {
    background-color: #0088cc !important;
    border: 2px solid #EDDCD9 !important;
    box-shadow: 3px 4px 0px 1px #0066aa !important;
}

.telegram-card:hover {
    box-shadow: 4px 5px 0px 1px #0066aa !important;
    background-color: #006699 !important;
}

.telegram-avatar {
    background-color: #EDDCD9 !important;
    color: #0088cc !important;
    font-size: 18px !important;
}

.telegram-card .profile-name {
    color: #EDDCD9 !important;
    font-weight: 700;
    font-size: 14px;
}

.telegram-card .profile-email {
    color: rgba(237, 220, 217, 0.9) !important;
    font-size: 11px;
}

.premium-link {
    background: linear-gradient(135deg, #DE5499 0%, #E99F4C 100%);
    color: white !important;
    border-radius: 10px;
    margin: 5px 10px;
    font-weight: 700;
    box-shadow: 2px 3px 0px 0px rgba(38, 65, 67, 0.3);
    border-left: none !important;
    transition: all 0.3s ease;
}

.premium-link:hover {
    background: linear-gradient(135deg, #c9458a 0%, #d18a42 100%);
    transform: translateY(-1px);
    box-shadow: 3px 4px 0px 0px rgba(38, 65, 67, 0.3);
}

.premium-link .sidebar-icon {
    color: #FFD700;
    animation: pulse-crown 2s infinite;
}

@keyframes pulse-crown {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.sidebar.hidden {
    transform: translateX(-250px);
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    color: #264143;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px;
    margin-bottom: 10px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #264143;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: rgba(38, 65, 67, 0.1);
    border-left-color: #DE5499;
}

.sidebar-link.active {
    background-color: rgba(222, 84, 153, 0.1);
    border-left-color: #DE5499;
    color: #DE5499;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    font-weight: bold;
    text-align: center;
}

/* Dropdown Styles */
.sidebar-item.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    justify-content: space-between;
    cursor: pointer;
}

.dropdown-icon {
    width: 12px;
    height: 12px;
    margin-right: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 10px;
}

.sidebar-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(38, 65, 67, 0.05);
}

.sidebar-submenu.show {
    max-height: 200px;
}

.sidebar-subitem {
    margin: 0;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 50px;
    color: #264143;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-sublink:hover {
    background-color: rgba(38, 65, 67, 0.1);
    border-left-color: #E99F4C;
}

.sidebar-sublink.active {
    background-color: rgba(233, 159, 76, 0.1);
    border-left-color: #E99F4C;
    color: #E99F4C;
}

.sidebar-sublink i {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    font-size: 12px;
    text-align: center;
}

/* Main Layout */
.layout {
    display: flex;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.main-content {
    flex: 1;
    margin-left: 0;
    padding: 30px;
    transition: margin-left 0.3s ease;
}

.main-content.sidebar-open {
    margin-left: 250px;
}

/* Dashboard Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 20px;
    box-shadow: 3px 4px 0px 1px #E99F4C;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: cardSlideIn 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.dashboard-card:nth-child(1) { animation-delay: 0.1s; }
.dashboard-card:nth-child(2) { animation-delay: 0.2s; }
.dashboard-card:nth-child(3) { animation-delay: 0.3s; }
.dashboard-card:nth-child(4) { animation-delay: 0.4s; }

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(222, 84, 153, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.dashboard-card:hover::before {
    left: 100%;
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 6px 12px 0px 2px #E99F4C;
    border-color: #DE5499;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Card content animations */
.dashboard-card .card-header {
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.dashboard-card .card-content {
    transform: translateY(15px);
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    color: #264143;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content {
    color: #264143;
    font-size: 16px;
    line-height: 1.6;
}

.card-content p {
    margin-bottom: 10px;
}

.card-content strong {
    font-weight: 700;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-title {
    color: #264143;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.welcome-subtitle {
    color: #264143;
    font-size: 18px;
    font-weight: 600;
    opacity: 0.8;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 15px;
    box-shadow: 3px 4px 0px 1px #E99F4C;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px) rotateY(15deg);
    animation: statCardFloat 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(222, 84, 153, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 1;
}

.stat-card:hover::after {
    width: 200%;
    height: 200%;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 5px 8px 0px 2px #E99F4C;
    border-color: #DE5499;
}

@keyframes statCardFloat {
    from {
        opacity: 0;
        transform: translateY(20px) rotateY(15deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0deg);
    }
}

/* Animate stat numbers */
.stat-number {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(1.2);
    animation: numberPop 0.6s ease-out forwards;
    animation-delay: 0.5s;
}

.stat-card:nth-child(1) .stat-number { animation-delay: 0.6s; }
.stat-card:nth-child(2) .stat-number { animation-delay: 0.7s; }
.stat-card:nth-child(3) .stat-number { animation-delay: 0.8s; }
.stat-card:nth-child(4) .stat-number { animation-delay: 0.9s; }

@keyframes numberPop {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    60% {
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animate stat labels */
.stat-label {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    animation: labelSlide 0.4s ease-out forwards;
    animation-delay: 0.8s;
}

.stat-card:nth-child(1) .stat-label { animation-delay: 0.9s; }
.stat-card:nth-child(2) .stat-label { animation-delay: 1.0s; }
.stat-card:nth-child(3) .stat-label { animation-delay: 1.1s; }
.stat-card:nth-child(4) .stat-label { animation-delay: 1.2s; }

@keyframes labelSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    color: #DE5499;
    font-size: 24px;
    font-weight: 800;
    display: block;
    word-break: break-word;
    line-height: 1.2;
}

.stat-label {
    color: #264143;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.action-btn {
    padding: 12px 20px;
    background: #DE5499;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0px 0px #E99F4C;
}

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(1px);
    box-shadow: 2px 2px 0px 0px #E99F4C;
}


    }

    .docs-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 20px;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 16px;
    }

    .docs-nav-list {
        margin: 0;
    }

    .docs-content {
        width: 100%;
    }

    .endpoint-section {
        margin-bottom: 30px;
        padding: 20px;
        border-radius: 8px;
    }

    .endpoint-header h2 {
        font-size: 18px;
        margin: 0 0 16px 0;
    }

    .code-block {
        font-size: 12px;
        padding: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .params-table {
        font-size: 12px;
        margin: 0;
    }

    .param-name, .endpoint-path {
        word-break: break-all;
    }

    .auth-example {
        padding: 12px;
        margin: 12px 0;
    }

    /* Terminal and response examples */
    .terminal-output {
        font-size: 12px;
    }

    .response-results {
        overflow-x: auto;
    }

    .result-item {
        min-width: 200px;
        margin-bottom: 8px;
    }
}

/* ===============================================
   API DOCUMENTATION RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    /* API Documentation Layout */
    .docs-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .docs-sidebar {
        order: 2;
        position: static;
        width: 100%;
        margin-top: 20px;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 16px;
    }

    .docs-sidebar h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .docs-nav-link {
        padding: 6px 10px;
        font-size: 13px;
        margin-bottom: 4px;
        display: block;
        text-decoration: none;
        color: #64748b;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .docs-nav-link:hover,
    .docs-nav-link.active {
        background: #e2e8f0;
        color: #264143;
    }

    .docs-content {
        order: 1;
        width: 100%;
        padding: 0;
    }

    /* Endpoint sections */
    .endpoint-section {
        margin-bottom: 25px;
        padding: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .endpoint-section:last-child {
        border-bottom: none;
    }

    .endpoint-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .endpoint-header h2 {
        font-size: 18px;
        margin: 0;
    }

    /* Method badges */
    .method-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    /* Code blocks - horizontal scroll */
    .code-block {
        font-size: 11px;
        padding: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Tables - horizontal scroll */
    .params-table {
        font-size: 12px;
        border-collapse: separate;
        border-spacing: 0;
        margin: 0;
        width: 100%;
    }

    .params-table th,
    .params-table td {
        padding: 8px 6px;
        word-break: break-word;
    }

    /* Authentication examples */
    .auth-example {
        padding: 12px;
        margin: 12px 0;
        border-left: 4px solid #f59e0b;
    }

    /* Navigation fixes */
    .docs-nav-list {
        padding: 0;
        margin: 0;
        list-style: none;
    }
}

@media (max-width: 480px) {
    .endpoint-section {
        padding: 14px;
    }

    .endpoint-header h2 {
        font-size: 16px;
    }

    .code-block {
        font-size: 10px;
        padding: 10px;
    }

    .params-table th,
    .params-table td {
        padding: 6px 4px;
        font-size: 11px;
    }

    /* Make request/response sections stack */
    .request-example,
    .response-example {
        margin-bottom: 16px;
    }

    .terminal-output {
        font-size: 11px;
    }
}

/* Popup Notification Styles */
.popup-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 15px;
    box-shadow: 3px 4px 0px 1px #E99F4C;
    padding: 20px;
    min-width: 300px;
    max-width: 400px;
    z-index: 1000;
    transform: translateX(450px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.popup-notification.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.popup-notification.success {
    background-color: #d4edda;
    border-color: #155724;
    box-shadow: 3px 4px 0px 1px #28a745;
}

.popup-notification.error {
    background-color: #f8d7da;
    border-color: #721c24;
    box-shadow: 3px 4px 0px 1px #dc3545;
}

.popup-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
    color: #264143;
}

.popup-message {
    font-size: 14px;
    color: #264143;
    margin: 0;
    line-height: 1.4;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #264143;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background-color: rgba(38, 65, 67, 0.1);
    transform: scale(1.1);
}

.popup-close:focus {
    outline: none;
    background-color: rgba(38, 65, 67, 0.2);
}

.popup-close:active {
    transform: scale(0.95);
}

/* Sidebar Overlay for Desktop */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content.sidebar-open {
        margin-left: 0;
    }

    .sidebar-overlay {
        display: none;
    }

    /* Header Mobile Adjustments */
    .header-container {
        padding: 0 10px;
    }

    .header-brand {
        font-size: 20px;
    }

    /* Hide search on mobile */
    .header-search {
        display: none;
    }

    /* Mobile header actions */
    .header-actions {
        gap: 5px;
    }

    .action-btn {
        padding: 8px;
        font-size: 16px;
    }

    /* User button mobile */
    .user-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .user-info {
        display: none;
    }

    .dropdown-arrow {
        display: none;
    }

    /* Show mobile welcome */
    .mobile-welcome {
        display: block;
        font-size: 13px;
    }

    /* Mobile dropdown positioning */
    .dropdown-menu {
        position: fixed;
        top: 70px;
        right: 10px;
        left: 10px;
        width: auto;
        min-width: auto;
        max-width: none;
        transform: translateY(-20px);
        border-radius: 10px;
    }

    .dropdown-menu.show {
        transform: translateY(0);
    }

    /* User menu mobile positioning */
    .user-menu {
        right: 10px;
        left: auto;
        min-width: 280px;
    }

    /* Notification items mobile */
    .notification-item,
    .message-item {
        padding: 12px 15px;
    }

    .notification-icon,
    .message-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .notification-title,
    .message-sender {
        font-size: 13px;
    }

    .notification-text,
    .message-text {
        font-size: 12px;
    }

    .notification-time,
    .message-time {
        font-size: 10px;
    }

    /* Quick actions mobile */
    .quick-action-item {
        padding: 10px 15px;
        font-size: 13px;
    }

    .quick-action-item i {
        font-size: 14px;
    }

    /* User menu mobile */
    .user-header {
        padding: 15px;
    }

    .user-avatar-large {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .user-details .user-name {
        font-size: 15px;
    }

    .user-details .user-email {
        font-size: 12px;
    }

    .user-menu-item {
        padding: 10px 15px;
        font-size: 13px;
    }

    /* Dropdown headers mobile */
    .dropdown-header {
        padding: 12px 15px;
    }

    .dropdown-header h4 {
        font-size: 15px;
    }

    .mark-read {
        font-size: 11px;
    }

    .dropdown-footer {
        padding: 12px 15px;
    }

    .dropdown-footer a {
        font-size: 12px;
    }
}

    .header-welcome {
        display: none;
    }

    .welcome-title {
        font-size: 24px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .popup-notification {
        left: 15px;
        right: 15px;
        min-width: auto;
        transform: translateY(-100px);
        top: 80px;
        opacity: 0;
        visibility: hidden;
    }

    .popup-notification.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar-profile-section {
        bottom: 40px;
        padding-top: 10px;
    }

    .sidebar-profile-section .sidebar-profile-card {
        margin: 0 10px;
        padding: 12px;
    }

    .profile-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .profile-name {
        font-size: 13px;
    }

    .profile-email {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .header-container {
        padding: 0 8px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .sidebar-profile-section {
        bottom: 30px;
    }

    .sidebar-profile-section .sidebar-profile-card {
        margin: 0 8px;
        padding: 10px;
        gap: 8px;
    }

    .profile-avatar {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .profile-name {
        font-size: 12px;
    }

    .profile-email {
        font-size: 9px;
    }

    /* Extra small screen header adjustments */
    .header-brand {
        font-size: 18px;
    }

    .header-actions {
        gap: 3px;
    }

    .action-btn {
        padding: 6px;
        font-size: 14px;
    }

    .user-btn {
        padding: 3px 6px;
    }

    .user-avatar {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .mobile-welcome {
        font-size: 12px;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Mobile dropdown full width */
    .dropdown-menu {
        left: 5px;
        right: 5px;
    }

    .user-menu {
        right: 5px;
        min-width: 250px;
    }

    /* Smaller mobile dropdown content */
    .notification-item,
    .message-item {
        padding: 10px 12px;
    }

    .notification-icon,
    .message-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .quick-action-item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .user-header {
        padding: 12px;
    }

    .user-avatar-large {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .user-details .user-name {
        font-size: 14px;
    }

    .user-details .user-email {
        font-size: 11px;
    }

    .user-menu-item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .dropdown-header {
        padding: 10px 12px;
    }

    .dropdown-header h4 {
        font-size: 14px;
    }

    .dropdown-footer {
        padding: 10px 12px;
    }
}

/* Verification Status Alerts */
.email-status-alert,
.phone-status-alert,
.ktp-status-alert {
    border-radius: 12px;
    margin: 0 20px 20px 20px;
    padding: 16px 20px;
    color: white;
}

/* Email Alert - Red with slide from left animation */
.email-status-alert {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border: 2px solid #B91C1C;
    box-shadow: 3px 4px 0px 1px #991B1B;
    animation: slideFromLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

/* Phone Alert - Different colors based on status with bounce animation */
.phone-status-alert.unverified,
.phone-status-alert:not(.pending):not(.verified) {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    border: 2px solid #6D28D9;
    box-shadow: 3px 4px 0px 1px #5B21B6;
    animation: bounceInUp 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.phone-status-alert.pending {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border: 2px solid #B45309;
    box-shadow: 3px 4px 0px 1px #92400E;
    animation: bounceInUp 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

/* KTP Alert - Different colors based on status with fade and scale animation */
.ktp-status-alert.unverified {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border: 2px solid #B45309;
    box-shadow: 3px 4px 0px 1px #92400E;
    animation: fadeInScale 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.ktp-status-alert.pending {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: 2px solid #1D4ED8;
    box-shadow: 3px 4px 0px 1px #1E40AF;
    animation: fadeInScale 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.ktp-status-alert.rejected {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border: 2px solid #B91C1C;
    box-shadow: 3px 4px 0px 1px #991B1B;
    animation: fadeInScale 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-icon {
    font-size: 24px;
    color: #FECACA;
    flex-shrink: 0;
}

.alert-text {
    flex: 1;
}

.alert-text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.alert-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* Email Animation - Slide from Left */
@keyframes slideFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    60% {
        transform: translateX(10px);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Phone Animation - Bounce In Up */
@keyframes bounceInUp {
    0% {
        transform: translateY(100%) scale(0.8);
        opacity: 0;
    }
    40% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.7;
    }
    70% {
        transform: translateY(10px) scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* KTP Animation - Fade In Scale */
@keyframes fadeInScale {
    0% {
        transform: scale(0.3) rotateY(-30deg);
        opacity: 0;
        filter: blur(5px);
    }
    50% {
        transform: scale(1.05) rotateY(10deg);
        opacity: 0.7;
        filter: blur(2px);
    }
    100% {
        transform: scale(1) rotateY(0deg);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Responsive for verification alerts */
@media (max-width: 768px) {
    .email-status-alert,
    .phone-status-alert,
    .phone-status-alert.unverified,
    .phone-status-alert.pending,
    .ktp-status-alert {
        margin: 0 10px 15px 10px;
        padding: 12px 15px;
    }

    .alert-icon {
        font-size: 20px;
    }

    .alert-text strong {
        font-size: 14px;
    }

    .alert-text p {
        font-size: 12px;
    }
}

/* Interactive Hover Effects for Verification Cards */
.email-status-alert:hover {
    transform: translateX(5px);
    box-shadow: 5px 6px 0px 2px #991B1B;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-status-alert:hover {
    transform: translateY(-3px) scale(1.02);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.phone-status-alert.unverified:hover,
.phone-status-alert:not(.pending):not(.verified):hover {
    box-shadow: 5px 6px 0px 2px #5B21B6;
}

.phone-status-alert.pending:hover {
    box-shadow: 5px 6px 0px 2px #92400E;
}

.ktp-status-alert:hover {
    transform: scale(1.03) rotateX(5deg);
    filter: brightness(1.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ktp-status-alert.unverified:hover {
    box-shadow: 5px 6px 0px 2px #92400E;
}

.ktp-status-alert.pending:hover {
    box-shadow: 5px 6px 0px 2px #1E40AF;
}

.ktp-status-alert.rejected:hover {
    box-shadow: 5px 6px 0px 2px #991B1B;
}

/* Mobile hover adjustments */
@media (max-width: 768px) {
    .email-status-alert:hover,
    .phone-status-alert:hover,
    .ktp-status-alert:hover {
        transform: none;
        filter: none;
    }
}

/* Public Profile Settings Styles */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.toggle-setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
}

.toggle-setting:last-child {
    border-bottom: none;
}

.toggle-info {
    flex: 1;
}

.toggle-label {
    display: block;
    font-weight: 600;
    color: #264143;
    margin-bottom: 0.25rem;
}

.toggle-description {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.4;
}

.toggle-switch {
    margin-left: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.switch:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

input[type="checkbox"]:checked + .switch {
    background-color: #DE5499;
}

input[type="checkbox"]:checked + .switch:before {
    transform: translateX(26px);
}

.input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.form-input.readonly {
    background-color: #f8f9fa;
    color: #6B7280;
    cursor: not-allowed;
    flex: 1;
}

.profile-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #264143;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.preview-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EDDCD9;
    border: 2px solid #264143;
}

.preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-avatar i {
    font-size: 24px;
    color: #6B7280;
}

.preview-info h3 {
    margin: 0 0 0.25rem 0;
    color: #264143;
    font-size: 1.25rem;
    font-weight: 700;
}

.preview-info p {
    margin: 0 0 0.5rem 0;
    color: #6B7280;
    font-size: 0.875rem;
}

.preview-bio {
    font-size: 0.875rem;
    color: #264143;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.preview-actions {
    display: flex;
    gap: 0.75rem;
}

.profile-private-notice {
    text-align: center;
    padding: 2rem;
    color: #6B7280;
}

.profile-private-notice i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #6B7280;
}

.profile-private-notice h4 {
    color: #264143;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.profile-private-notice p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.settings-group {
    margin-bottom: 2rem;
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    border: 2px solid #264143;
    border-radius: 8px;
    background: white;
    color: #264143;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
}

.form-textarea::placeholder {
    color: #9CA3AF;
}

/* Page Header Styles */
.page-header {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(38, 65, 67, 0.1);
}

.page-header-content {
    text-align: center;
}

.page-title {
    color: #264143;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-description {
    color: #264143;
    font-size: 16px;
    opacity: 0.8;
    margin: 0;
    font-weight: 500;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #264143;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-help {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #264143;
    border-radius: 8px;
    background-color: white;
    color: #264143;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
}

/* Button Styles */
.btn-primary {
    background: #DE5499;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 2px 3px 0px 0px #E99F4C;
}

.btn-primary:hover {
    background: #c9458a;
    transform: translateY(1px);
    box-shadow: 1px 2px 0px 0px #E99F4C;
}

.btn-secondary {
    background: #E99F4C;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 2px 3px 0px 0px #d18a42;
}

.btn-secondary:hover {
    background: #d18a42;
    transform: translateY(1px);
    box-shadow: 1px 2px 0px 0px #d18a42;
}

.btn-outline {
    background: transparent;
    color: #DE5499;
    border: 2px solid #DE5499;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #DE5499;
    color: white;
    transform: translateY(-1px);
}

/* Mobile responsive for settings grid */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .toggle-setting {
        padding: 0.75rem 0;
    }

    .preview-avatar {
        width: 48px;
        height: 48px;
    }

    .preview-avatar i {
        font-size: 18px;
    }

    .profile-preview {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .preview-actions {
        justify-content: center;
    }

    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .form-input.readonly {
        margin-bottom: 0.5rem;
    }

    .page-title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    .page-description {
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Overlay Menu Modal Styles */
.overlay-menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.overlay-menu-content {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: overlayModalShow 0.3s ease-out;
}

@keyframes overlayModalShow {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.overlay-menu-header {
    background: linear-gradient(135deg, #264143 0%, #DE5499 100%);
    color: #FFFFFF;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-menu-title {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.overlay-menu-title i {
    font-size: 20px;
}

.overlay-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.overlay-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.overlay-menu-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.overlay-section {
    margin-bottom: 32px;
}

.overlay-section:last-child {
    margin-bottom: 0;
}

.overlay-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #264143;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.overlay-section-title i {
    color: #DE5499;
}

.overlay-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.overlay-tool-card {
    background: #FFFFFF;
    border: 2px solid #F0F0F0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.overlay-tool-card:hover {
    border-color: #DE5499;
    box-shadow: 0 8px 25px rgba(222, 84, 153, 0.15);
    transform: translateY(-2px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #264143 0%, #DE5499 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    flex-shrink: 0;
}

.tool-info {
    flex: 1;
}

.tool-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #264143;
    margin-bottom: 4px;
}

.tool-info p {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.tool-action {
    color: #DE5499;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.overlay-tool-card:hover .tool-action {
    opacity: 1;
}

.overlay-menu-footer {
    background: #F8F9FA;
    padding: 20px 24px;
    border-top: 1px solid #E9ECEF;
}

.overlay-url-section {
    margin: 0;
}

.overlay-url-label {
    font-size: 14px;
    font-weight: 600;
    color: #264143;
    display: block;
    margin-bottom: 8px;
}

.overlay-url-container {
    display: flex;
    gap: 8px;
}

.overlay-url-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    background: #FFFFFF;
    font-family: 'Courier New', monospace;
}

.overlay-url-input:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
}

.overlay-url-copy {
    background: #DE5499;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.overlay-url-copy:hover {
    background: #C44789;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .overlay-menu-modal {
        padding: 10px;
    }

    .overlay-menu-content {
        max-height: 95vh;
    }

    .overlay-menu-header {
        padding: 16px 20px;
    }

    .overlay-menu-title {
        font-size: 20px;
    }

    .overlay-menu-body {
        padding: 20px;
        max-height: 65vh;
    }

    .overlay-tools-grid {
        grid-template-columns: 1fr;
    }

    .overlay-tool-card {
        padding: 16px;
    }

    .tool-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .tool-info h4 {
        font-size: 15px;
    }

    .tool-info p {
        font-size: 13px;
    }

    .overlay-url-container {
        flex-direction: column;
    }

    .overlay-url-copy {
        justify-content: center;
    }
}

/* Overlay Menu Page Specific Styles */
.stat-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.stat-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.stat-card {
    position: relative;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: auto;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.switch:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch {
    background-color: #DE5499;
}

input:checked + .switch:before {
    transform: translateX(26px);
}

.widget-preview {
    margin-top: 15px;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 8px;
    border-left: 4px solid #DE5499;
}

.preview-header {
    font-weight: 600;
    color: #264143;
    margin-bottom: 10px;
    font-size: 14px;
}

.widget-settings {
    margin-top: 15px;
    padding: 15px;
    background: #F0F9FF;
    border-radius: 8px;
    border-left: 4px solid #264143;
}

.widget-settings h4 {
    color: #264143;
    margin-bottom: 15px;
    font-size: 16px;
}

.setting-row {
    margin-bottom: 15px;
}

.setting-row:last-child {
    margin-bottom: 0;
}

.setting-row label {
    display: block;
    font-weight: 600;
    color: #264143;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-select,
.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #E9ECEF;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
}

/* Preview Overlay Cards */
.preview-overlay {
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    background: #FFFFFF;
    border: 1px solid #E9ECEF;
}

.preview-overlay .card-header {
    background: linear-gradient(135deg, #264143 0%, #DE5499 100%);
    color: #FFFFFF;
}

.preview-overlay .card-content {
    background: #FFFFFF;
}

/* Donation Item Preview */
.donation-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}

.donation-item:last-child {
    border-bottom: none;
}

.donation-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #264143, #DE5499);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-right: 12px;
    flex-shrink: 0;
}

.donation-info {
    flex: 1;
}

.donation-name {
    font-weight: 600;
    color: #264143;
    font-size: 14px;
}

.donation-amount {
    color: #DE5499;
    font-weight: 600;
    font-size: 16px;
}

.donation-message {
    color: #666;
    font-size: 13px;
    margin-top: 2px;
    font-style: italic;
}

/* Goal Progress Styles */
.goal-progress,
.goal-progress-preview {
    margin-bottom: 15px;
}

.progress-bar,
.progress-bar-preview {
    width: 100%;
    height: 20px;
    background: #E9ECEF;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill,
.progress-fill-preview {
    height: 100%;
    background: #DE5499;
    transition: width 0.5s ease;
}

.progress-text,
.progress-text-preview {
    text-align: center;
    font-size: 14px;
    color: #264143;
    font-weight: 600;
}

.progress-percentage {
    text-align: center;
    font-size: 13px;
    color: #DE5499;
    font-weight: 600;
    margin-top: 5px;
}

.goal-supporters,
.goal-supporters-preview {
    text-align: center;
    color: #666;
    font-size: 13px;
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.goal-supporters i,
.goal-supporters-preview i {
    color: #DE5499;
    margin-right: 5px;
}

.supporters-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #264143;
    opacity: 0.8;
}

/* Top Donators List */
.donator-list {
    /* Remove background and shadow as it's now inside dashboard-card */
}

.donator-item,
.preview-donator-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(237, 220, 217, 0.6);
    border: 1px solid #264143;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.donator-item:last-child,
.preview-donator-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.donator-item:hover,
.preview-donator-item:hover {
    background: rgba(237, 220, 217, 0.8);
    transform: translateX(5px);
    border-color: #DE5499;
}

.rank,
.donator-rank {
    font-size: 18px;
    margin-right: 12px;
    min-width: 30px;
    text-align: center;
}

.rank-icon {
    font-size: 20px;
}

.name,
.donator-info-preview {
    flex: 1;
    color: #264143;
    font-weight: 500;
    font-size: 14px;
}

.donator-name-preview {
    font-weight: 600;
    color: #264143;
    font-size: 13px;
    margin-bottom: 2px;
}

.donator-stats {
    font-size: 11px;
    color: #264143;
    opacity: 0.7;
}

.amount,
.donator-amount-preview {
    color: #DE5499;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 1px 1px 0px rgba(38, 65, 67, 0.1);
}

/* Alert Demo Styles */
.alert-demo,
.alert-demo-preview {
    text-align: center;
}

.alert-animation,
.alert-animation-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(222, 84, 153, 0.1);
    border-radius: 8px;
}

.animated-bell,
.alert-bell i {
    font-size: 24px;
    color: #DE5499;
    margin-right: 15px;
    animation: bellRing 2s infinite;
}

@keyframes bellRing {
    0%, 50%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.alert-text,
.alert-content-preview {
    text-align: left;
    flex: 1;
}

.alert-text strong,
.alert-title {
    color: #264143;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.alert-text p,
.alert-donor,
.alert-amount-preview,
.alert-message-preview {
    color: #666;
    font-size: 14px;
    margin: 0 0 3px 0;
}

.alert-donor {
    font-weight: 600;
    color: #264143;
}

.alert-amount-preview {
    color: #DE5499;
    font-weight: 700;
    font-size: 15px;
}

.alert-message-preview {
    font-style: italic;
    font-size: 13px;
}

.alert-demo small {
    color: #666;
    font-size: 12px;
}

.alert-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #264143;
    opacity: 0.8;
}

.feature-item i {
    color: #DE5499;
}

/* Chat Messages Styles */
.chat-messages {
    /* Remove background and shadow as it's now inside dashboard-card */
}

.chat-message,
.preview-chat-message {
    display: flex;
    padding: 12px 15px;
    background: rgba(237, 220, 217, 0.6);
    border: 1px solid #264143;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.chat-message:last-child,
.preview-chat-message:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.chat-message:hover,
.preview-chat-message:hover {
    background: rgba(237, 220, 217, 0.8);
    transform: translateX(5px);
    border-color: #DE5499;
}

.message-avatar,
.chat-avatar-preview {
    width: 35px;
    height: 35px;
    background: #264143;
    border: 2px solid #E99F4C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EDDCD9;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 1px 1px 0px 1px rgba(233, 159, 76, 0.3);
}

.message-content,
.chat-content-preview {
    flex: 1;
}

.message-content .sender,
.chat-sender {
    font-weight: 600;
    color: #264143;
    font-size: 14px;
}

.message-content .amount,
.chat-amount {
    color: #DE5499;
    font-weight: 600;
    font-size: 12px;
    margin-left: 8px;
}

.chat-header-preview {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.message-content .message,
.chat-message-preview {
    color: #264143;
    font-size: 13px;
    margin: 2px 0;
    font-style: italic;
    opacity: 0.8;
}

.chat-time-preview {
    color: #264143;
    font-size: 10px;
    margin-top: 3px;
    opacity: 0.6;
    font-weight: 500;
}

/* OBS Steps */
.obs-steps {
    margin: 15px 0;
}

.obs-step {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.step-number {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #264143, #DE5499);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
}

.step-text {
    color: #264143;
    font-size: 14px;
}

/* Active Widget Card */
.dashboard-card.widget-active {
    border-left: 4px solid #DE5499;
    box-shadow: 0 4px 15px rgba(222, 84, 153, 0.1);
}

.dashboard-card.widget-active .card-header {
    background: linear-gradient(135deg, rgba(38, 65, 67, 0.05), rgba(222, 84, 153, 0.05));
}

/* Preview Widgets - All styles */
.donations-preview-widget,
.goal-preview-widget,
.topdonators-preview-widget,
.alert-preview-widget,
.chat-preview-widget {
    background-color: #EDDCD9 !important;
    border: 2px solid #264143 !important;
    border-radius: 15px !important;
    box-shadow: 3px 4px 0px 1px #E99F4C !important;
    padding: 20px !important;
}

.preview-widget-header {
    background: transparent !important;
    color: #264143 !important;
    padding: 0 0 15px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 2px solid #264143;
    margin-bottom: 15px;
}

.preview-widget-header i {
    color: #DE5499 !important;
    font-size: 16px;
}

.preview-widget-content {
    padding: 0 !important;
}

.preview-donation-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(237, 220, 217, 0.6);
    border: 1px solid #264143;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.preview-donation-item:last-child {
    margin-bottom: 0;
}

.preview-donation-avatar {
    width: 45px;
    height: 45px;
    background-color: #264143;
    border: 2px solid #E99F4C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EDDCD9;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 12px;
    box-shadow: 2px 2px 0px 1px rgba(233, 159, 76, 0.3);
}

.preview-donation-info {
    flex: 1;
}

.preview-donation-name {
    font-weight: 600;
    color: #264143;
    font-size: 15px;
    margin-bottom: 3px;
}

.preview-donation-amount {
    color: #DE5499;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
    text-shadow: 1px 1px 0px rgba(38, 65, 67, 0.1);
}

.preview-donation-message {
    color: #264143;
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
    opacity: 0.8;
    margin-bottom: 2px;
}

.preview-donation-time {
    color: #264143;
    font-size: 11px;
    margin-top: 3px;
    opacity: 0.6;
    font-weight: 500;
}

/* Overlay URL Card Styles */
.overlay-url-card {
    margin-bottom: 30px;
}

.overlay-url-card .overlay-url-container {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.overlay-url-card .overlay-url-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    background: #FFFFFF;
    font-family: 'Courier New', monospace;
    transition: border-color 0.3s ease;
}

.overlay-url-card .overlay-url-input:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
}

.overlay-url-card .overlay-url-copy {
    background: #DE5499;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.overlay-url-card .overlay-url-copy:hover {
    background: #C44789;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(222, 84, 153, 0.3);
}

.overlay-url-hint {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.overlay-url-hint i {
    color: #DE5499;
    flex-shrink: 0;
}

/* Action Buttons for Overlay Settings */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: flex-start;
}

.action-buttons .btn-primary,
.action-buttons .btn-secondary {
    flex: 0 1 auto;
    min-width: 140px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    user-select: none;
    transition: all 0.3s ease;
}

.action-buttons .btn-primary:hover,
.action-buttons .btn-secondary:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.form-section .action-buttons {
    padding-top: 10px;
    border-top: 1px solid rgba(38, 65, 67, 0.1);
    margin-top: 20px;
}

/* Form hint styling for overlay settings */
.form-hint {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
    line-height: 1.4;
}

/* Override button styling for overlay settings */
.widget-settings .action-buttons .btn-secondary {
    background: #E99F4C !important;
    color: white !important;
    border: 2px solid #264143 !important;
    opacity: 1 !important;
}

.widget-settings .action-buttons .btn-secondary:hover {
    background: #d18a42 !important;
    color: white !important;
}

.widget-settings .action-buttons .btn-primary {
    background: #DE5499 !important;
    color: white !important;
    border: 2px solid #264143 !important;
    opacity: 1 !important;
}

.widget-settings .action-buttons .btn-primary:hover {
    background: #c9458a !important;
    color: white !important;
}

/* Ensure buttons are clickable and visible */
.action-buttons button,
.action-buttons a {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    opacity: 1;
}

.action-buttons button:active,
.action-buttons a:active {
    transform: translateY(1px);
}

/* Fix any overlay issues */
.widget-settings {
    position: relative;
    z-index: 5;
}

.widget-settings .action-buttons {
    position: relative;
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.widget-settings .action-buttons .btn-primary,
.widget-settings .action-buttons .btn-secondary {
    width: 100%;
    min-width: auto;
    margin: 0;
}

/* OBS Preview Styling */
.obs-preview {
    background: rgba(237, 220, 217, 0.6);
    border: 1px solid #264143;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.obs-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #264143;
    margin-bottom: 12px;
    font-size: 14px;
}

.obs-preview-header i {
    color: #DE5499;
}

.obs-preview-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.obs-step-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border-left: 3px solid #E99F4C;
}

.obs-step-mini i {
    color: #264143;
    font-size: 14px;
    width: 16px;
}

.obs-step-mini span {
    color: #264143;
    font-size: 13px;
    font-weight: 500;
}

/* OBS Guide Modal Styles */
.obs-guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.obs-guide-content {
    background: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 5px 8px 0px 2px #E99F4C;
    animation: obsModalShow 0.4s ease-out;
}

@keyframes obsModalShow {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.obs-guide-header {
    background: #264143;
    color: #FFFFFF;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #264143;
}

.obs-guide-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.obs-guide-title i {
    font-size: 20px;
}

.obs-guide-close {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.obs-guide-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.obs-guide-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.obs-guide-section {
    margin-bottom: 24px;
}

.obs-guide-section:last-child {
    margin-bottom: 0;
}

.obs-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #264143;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.obs-section-title i {
    color: #DE5499;
    width: 20px;
}

.obs-guide-section p {
    color: #264143;
    margin-bottom: 12px;
    line-height: 1.6;
}

.obs-info-box {
    background: rgba(222, 84, 153, 0.1);
    border: 1px solid #DE5499;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.obs-info-box i {
    color: #DE5499;
    font-size: 16px;
}

.obs-info-box span {
    color: #264143;
    font-size: 14px;
}

.obs-steps-detailed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.obs-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(38, 65, 67, 0.2);
    border-radius: 8px;
    border-left: 4px solid #E99F4C;
}

.obs-step-item .step-number {
    background: #264143;
    color: #EDDCD9;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.obs-step-item .step-text {
    color: #264143;
    font-size: 14px;
    line-height: 1.4;
}

.obs-config-box {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #264143;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
}

.config-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
}

.config-item:last-child {
    border-bottom: none;
}

.config-item label {
    font-weight: 600;
    color: #264143;
    font-size: 14px;
    min-width: 80px;
}

.config-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.obs-url-input {
    padding: 8px 12px;
    border: 1px solid #264143;
    border-radius: 6px;
    background: white;
    color: #264143;
    font-size: 12px;
    width: 300px;
    font-family: 'Courier New', monospace;
}

.obs-copy-btn {
    background: #DE5499;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.obs-copy-btn:hover {
    background: #c9458a;
    transform: scale(1.05);
}

.config-value-text {
    color: #DE5499;
    font-weight: 600;
    font-size: 14px;
}

.obs-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.obs-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(38, 65, 67, 0.2);
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.obs-checkbox-item i {
    color: #28a745;
    font-size: 16px;
    width: 20px;
}

.obs-checkbox-item span {
    color: #264143;
    font-size: 14px;
    line-height: 1.4;
}

.obs-tips-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.obs-tip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(233, 159, 76, 0.1);
    border: 1px solid rgba(233, 159, 76, 0.3);
    border-radius: 8px;
    border-left: 4px solid #E99F4C;
}

.obs-tip-item i {
    color: #E99F4C;
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.obs-tip-item span {
    color: #264143;
    font-size: 14px;
    line-height: 1.4;
}

/* Activity List Styles */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(237, 220, 217, 0.3);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(237, 220, 217, 0.5);
    border-color: #DE5499;
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #264143, #DE5499);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-title {
    font-weight: 600;
    color: #264143;
    font-size: 14px;
}

.activity-time {
    font-size: 12px;
    color: #666;
    opacity: 0.8;
}

.activity-amount {
    font-size: 14px;
    color: #DE5499;
    font-weight: 700;
}

.activity-actions {
    display: flex;
    gap: 12px;
    padding-top: 15px;
    border-top: 2px solid rgba(38, 65, 67, 0.1);
}

.activity-actions .btn-primary,
.activity-actions .btn-secondary {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid;
}

.activity-actions .btn-primary {
    background: #DE5499;
    color: white;
    border-color: #DE5499;
}

.activity-actions .btn-primary:hover {
    background: #c44284;
    border-color: #c44284;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.activity-actions .btn-secondary {
    background: #E99F4C;
    color: white;
    border-color: #E99F4C;
}

.activity-actions .btn-secondary:hover {
    background: #d18a42;
    border-color: #d18a42;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Content Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Mobile Responsive for Activity List */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .activity-content {
        align-items: center;
    }

    .activity-actions {
        flex-direction: column;
        width: 100%;
    }

    .activity-actions .btn-primary,
    .activity-actions .btn-secondary {
        width: 100%;
    }
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .obs-guide-modal {
        padding: 10px;
    }

    .obs-guide-content {
        max-height: 95vh;
    }

    .obs-guide-header {
        padding: 16px 20px;
    }

    .obs-guide-title {
        font-size: 20px;
    }

    .obs-guide-body {
        padding: 20px;
        max-height: 75vh;
    }

    .obs-url-input {
        width: 200px;
        font-size: 11px;
    }

    .config-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .config-value {
        width: 100%;
    }
}

/* ======================================
   NAVBAR NOTIFICATION STYLES
   ====================================== */

/* Notification item styling */
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-item:hover {
    background: rgba(222, 84, 153, 0.1);
    transform: translateX(2px);
    border-left-color: #DE5499;
}

.notification-item.unread {
    background: rgba(23, 162, 184, 0.05);
    border-left-color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.notification-item.unread:hover {
    background: rgba(23, 162, 184, 0.1);
    border-left-color: #17a2b8;
}

.notification-icon {
    width: 32px;
    height: 32px;
    background: rgba(222, 84, 153, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: #264143;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-text {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    color: #999;
    font-size: 11px;
    font-weight: 500;
}

.priority-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 6px;
}

.priority-indicator.urgent {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    animation: urgentPulse 2s infinite;
}

.priority-indicator.high {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

@keyframes urgentPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Badge styling */
.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mark read styling */
.mark-read {
    color: #DE5499;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mark-read:hover {
    color: #c44284;
    text-decoration: underline;
}

/* Dropdown specific styles */
.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
    background: rgba(38, 65, 67, 0.02);
}

.dropdown-header h4 {
    margin: 0;
    color: #264143;
    font-size: 14px;
    font-weight: 600;
}

.dropdown-footer {
    padding: 10px 16px;
    border-top: 1px solid rgba(38, 65, 67, 0.1);
    background: rgba(38, 65, 67, 0.02);
    text-align: center;
}

.dropdown-footer a {
    color: #DE5499;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.dropdown-footer a:hover {
    color: #c44284;
    text-decoration: underline;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: rgba(38, 65, 67, 0.1);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: rgba(222, 84, 153, 0.3);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: rgba(222, 84, 153, 0.5);
}

/* Empty state */
.notification-list .notification-item:only-child .notification-content {
    text-align: center;
    padding: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-item {
        gap: 10px;
        padding: 10px 12px;
    }

    .notification-icon {
        width: 28px;
        height: 28px;
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-text {
        font-size: 12px;
    }

    .notification-time {
        font-size: 10px;
    }

    .priority-indicator {
        width: 16px;
        height: 16px;
    }

    .dropdown-header {
        padding: 10px 12px;
    }

    .dropdown-footer {
        padding: 8px 12px;
    }

    .notification-list {
        max-height: 300px;
        padding: 6px;
    }
}

/* Settings Grid Layout */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 15px;
}

/* Dashboard Card */
.dashboard-card {
    background: white;
    border-radius: 15px;
    border: 2px solid #264143;
    box-shadow: 2px 3px 0px 0px #E99F4C;
    overflow: hidden;
    transition: all 0.3s ease;
    height: fit-content;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 3px 5px 0px 1px #E99F4C;
}

.card-header {
    background: #264143;
    color: #EDDCD9;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    font-size: 18px;
    color: #E99F4C;
}

.card-content {
    padding: 20px;
}

/* Form Elements in Cards */
.card-content .form-group {
    margin-bottom: 20px;
}

.card-content .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #264143;
    font-size: 14px;
}

.card-content .form-input,
.card-content .form-textarea,
.card-content .form-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #264143;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
}

.card-content .form-input:focus,
.card-content .form-textarea:focus,
.card-content .form-select:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
}

.card-content .form-textarea {
    min-height: 80px;
    resize: vertical;
}

.card-content .form-hint,
.card-content .upload-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

/* Form Note */
.form-note {
    background: #E8F4FD;
    border: 2px solid #17a2b8;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #0c5460;
}

/* Avatar Section in Cards */
.avatar-section {
    text-align: center;
    margin-bottom: 0;
}

.avatar-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.current-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #264143;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #666;
    overflow: hidden;
}

.avatar-upload-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: 2px solid #138496;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.avatar-upload-btn:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #E5E7EB;
}

.btn-cancel,
.btn-save {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-cancel:hover {
    background: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
}

.btn-save {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-color: #20c997;
}

.btn-save:hover {
    background: linear-gradient(135deg, #20c997, #1eb885);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Responsive Settings Grid */
@media (max-width: 1024px) {
    .settings-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .dashboard-card {
        border-radius: 12px;
        margin: 0;
    }

    .card-header {
        padding: 12px 15px;
        font-size: 15px;
    }

    .card-content {
        padding: 15px;
    }

    .current-avatar {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 5px;
    }

    .card-header {
        padding: 10px 12px;
        font-size: 14px;
    }

    .card-header i {
        font-size: 16px;
    }

    .card-content {
        padding: 12px;
    }

    .current-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .card-content .form-input,
    .card-content .form-textarea,
    .card-content .form-select {
        padding: 10px;
        font-size: 16px;
    }

    .card-content .form-label {
        font-size: 13px;
    }

    .avatar-upload-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-cancel,
    .btn-save {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Info Items */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(237, 220, 217, 0.3);
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 12px;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: #264143;
    font-size: 14px;
}

.status-active {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Input Groups */
.input-group {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.btn-verify-inline {
    padding: 12px 16px;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: 2px solid #138496;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-verify-inline:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
}

.verification-status.verified {
    color: #28a745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 12px 16px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
}

/* KTP Verification Status */
.status-verified,
.status-pending,
.status-rejected {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-verified {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    color: #155724;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    color: #856404;
}

.status-rejected {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    color: #721c24;
}

.status-description {
    font-size: 13px;
    margin-top: 5px;
    opacity: 0.8;
}

.rejection-reason {
    background: rgba(220, 53, 69, 0.15);
    padding: 10px;
    border-radius: 6px;
    margin: 8px 0;
    font-weight: 600;
    font-size: 13px;
}

.ktp-info {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    font-size: 13px;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #264143;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-area:hover {
    border-color: #DE5499;
    background: #f0f8ff;
    transform: scale(1.02);
}

.upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 32px;
    color: #666;
    margin-bottom: 10px;
}

.btn-verify {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: 2px solid #20c997;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-verify:hover {
    background: linear-gradient(135deg, #20c997, #1eb885);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Mobile Responsive Adjustments for Edit Profile */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 12px;
    }

    .input-group {
        flex-direction: column;
        gap: 6px;
    }

    .btn-verify-inline {
        width: 100%;
        justify-content: center;
    }

    .file-upload-area {
        padding: 20px 15px;
    }

    .upload-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .info-item {
        padding: 8px 10px;
    }

    .info-label,
    .info-value {
        font-size: 13px;
    }

    .status-verified,
    .status-pending,
    .status-rejected {
        padding: 12px;
        font-size: 13px;
    }

    .btn-verify-inline {
        padding: 8px 12px;
        font-size: 13px;
    }

    .btn-verify {
        padding: 10px 16px;
        font-size: 13px;
    }

    .file-upload-area {
        padding: 15px 10px;
    }

    .upload-icon {
        font-size: 24px;
    }
}

/* Pending Balance Styles */
.stat-info {
    margin-top: 8px;
    opacity: 0.8;
}

.stat-info small {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.pending-balance-info {
    space-y: 20px;
}

.balance-summary {
    background: rgba(222, 84, 153, 0.05);
    border: 1px solid rgba(222, 84, 153, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.pending-amount {
    color: #E99F4C;
    font-weight: 700;
    font-size: 18px;
}

.info-text {
    color: #666;
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-text i {
    color: #17a2b8;
}

.pending-list {
    margin-top: 20px;
}

.list-title {
    font-size: 16px;
    font-weight: 600;
    color: #264143;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(222, 84, 153, 0.2);
}

.pending-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.pending-item:hover {
    background: rgba(222, 84, 153, 0.05);
    border-color: rgba(222, 84, 153, 0.3);
    transform: translateX(5px);
}

.pending-details {
    flex: 1;
}

.pending-details .amount {
    font-weight: 700;
    color: #E99F4C;
    font-size: 16px;
    display: block;
}

.pending-details .source {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
    display: block;
}

.release-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.release-date {
    font-size: 13px;
    font-weight: 600;
    color: #264143;
}

.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.today {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge.tomorrow {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.badge.future {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

/* Mobile responsiveness for pending balance */
@media (max-width: 768px) {
    .pending-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .release-info {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .stat-info small {
        font-size: 11px;
    }

    .pending-amount {
        font-size: 16px;
    }
}

/* Enhanced Stat Card Styles (consistent with admin pages) */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(222, 84, 153, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(222, 84, 153, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #DE5499, #E99F4C);
}

.stat-icon {
    font-size: 24px;
    color: #DE5499;
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #264143;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-meta {
    font-size: 12px;
    color: #999;
    opacity: 0.8;
}

/* Special card variants */
.stat-card.pending-card .stat-number {
    color: #E99F4C;
}

.stat-card.pending-card::before {
    background: linear-gradient(135deg, #E99F4C, #ffc107);
}

.stat-card.balance-card .stat-number {
    color: #28a745;
}

.stat-card.balance-card::before {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.stat-card.transaction-card .stat-number {
    color: #17a2b8;
}

.stat-card.transaction-card::before {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

/* Action card styles */
.stat-card.action-card {
    min-height: auto;
    padding: 15px;
}

.stat-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: linear-gradient(135deg, #DE5499, #c14284);
    color: white;
}

.action-btn.secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* Detail card (wider) */
.stat-card.detail-card {
    grid-column: 1 / -1;
    text-align: left;
    min-height: auto;
    padding: 25px;
}

.stat-card.amount-selection-card,
.stat-card.bank-selection-card {
    grid-column: 1 / -1;
    text-align: left;
    min-height: auto;
    padding: 25px;
}

.detail-title {
    font-size: 18px;
    font-weight: 700;
    color: #264143;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-content {
    width: 100%;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
        min-height: 120px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-actions {
        flex-direction: column;
    }
}