/**
Theme Name: DDMA
Author: Soham Joshi
Author URI: https://consoft.in/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ddma
Template: astra
*/

/* ============================================
   Dashboard Styles - Government Dashboard
   ============================================ */

/* Dashboard Wrapper */
input#sidebar-search {
    padding-left: 35px;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f8f9fa;
    width: 100%;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: 260px;
    background: #ffffff;
    color: #333333;
    padding: 0;
    overflow-y: auto;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
    border-right: 1px solid #e0e0e0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    border-bottom: 1px solid #e8e8e8;
    gap: 10px;
}

.sidebar-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sidebar-toggle:hover {
    background-color: #f0f0f0;
}

/* Search Box */
.sidebar-search {
    position: relative;
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8e8;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
    transition: all 0.2s ease;
    outline: none;
}

.search-input::placeholder {
    color: #999999;
}

.search-input:focus {
    border-color: #D48C45;
    background-color: #FFE8D6;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
    pointer-events: none;
    width: 18px;
    height: 18px;
}

/* Navigation Menu */
.sidebar-nav {
    padding: 8px 0;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: #555555;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.nav-link:hover {
    background-color: #f5f5f5;
    color: #D48C45;
}

.nav-item.active .nav-link {
    background-color: #FFE8D6;
    color: #D48C45;
    border-left-color: #D48C45;
}



/* Main Content */
.dashboard-content {
    flex: 1;
    padding: 28px 32px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.content-header {
    margin-bottom: 28px;
}

.page-title {
    margin: 0 0 6px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

/* Tab Contents */
.dashboard-tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.content-section {
    margin-bottom: 24px;
}

.section-title {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.section-subtitle {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.tab-placeholder {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 32px;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

/* Panels */
.pannel {
    background: #ffffff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    border: 1px solid #e8e8e8;
}

.pannel:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.title_wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.title_wrapper svg {
    min-width: 20px;
    min-height: 20px;
    color: #D48C45;
    stroke: #D48C45;
    margin-top: 2px;
}

.title_wrapper h2 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.title_wrapper p {
    margin: 0;
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        max-height: 70px;
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        align-items: stretch;
    }

    .sidebar-header {
        padding: 0 16px;
        border-bottom: none;
        border-right: 1px solid #e8e8e8;
        min-width: fit-content;
    }

    .sidebar-search {
        padding: 0 16px;
        border-bottom: none;
        border-right: 1px solid #e8e8e8;
        display: flex;
        align-items: center;
        min-width: 180px;
    }

    .search-input {
        padding: 8px 12px 8px 32px;
        font-size: 12px;
    }

    .sidebar-nav {
        padding: 0;
        display: flex;
        flex-direction: row;
        flex: 1;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .nav-item {
        margin: 0;
        flex: 0 0 auto;
    }

    .nav-link {
        padding: 16px 14px;
        font-size: 13px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .nav-link:hover {
        background-color: transparent;
        color: #D48C45;
    }

    .nav-item.active .nav-link {
        background-color: transparent;
        border-bottom-color: #D48C45;
        border-left: none;
    }

    .dashboard-content {
        padding: 20px 24px;
    }

    .page-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }

    .dashboard-sidebar {
        position: absolute;
        left: 0;
        top: 0;
        width: 260px;
        height: 100vh;
        max-height: none;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 200;
        border-right: 1px solid #e0e0e0;
        border-bottom: none;
    }

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

    .sidebar-header {
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .sidebar-search {
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        min-width: auto;
    }

    .sidebar-nav {
        padding: 8px 0;
        flex-direction: column;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-link {
        padding: 12px 16px;
        border-left: 3px solid transparent;
        border-bottom: none;
    }

    .nav-item.active .nav-link {
        border-left-color: #D48C45;
    }

    .dashboard-content {
        padding: 16px;
    }

    .page-title {
        font-size: 20px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .pannel {
        padding: 16px;
        margin-bottom: 12px;
    }

    .title_wrapper {
        gap: 10px;
    }

    .title_wrapper h2 {
        font-size: 15px;
    }

    .title_wrapper p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 18px;
    }

    .pannel {
        padding: 12px;
    }

    .title_wrapper h2 {
        font-size: 14px;
    }

    .title_wrapper p {
        font-size: 12px;
    }
}

/* Home Page Override */
.home .ast-container {
    flex-direction: column;
}

/* Alert Styles */

button.severity-button.severity-red.active {
    background-color: #cc0000 !important;
    color: #ffffff !important;
    border-left-color: #cc0000 !important;
}

button.severity-button.severity-orange.active {
    background-color: #ff9900 !important;
    color: #ffffff !important;
    border-left-color: #ff9900 !important;
}

button.severity-button.severity-yellow.active {
    background-color: #ffcc00 !important;
    color: #ffffff !important;
    border-left-color: #ffcc00 !important;
}

button.severity-button.severity-green.active {
    background-color: #00cc66 !important;
    color: #ffffff !important;
    border-left-color: #00cc66 !important;
}