/*!
 * ============================================================
 * Template Name : Advanced File Manager
 * Version       : 1.0
 * Author        : Rabiul Islam
 * Author URL    : https://advanced-file-manager.rixetbd.com
 *
 * IMPORTANT:
 * ----------
 * Do NOT edit this file directly. For custom styles, use the
 * "custom.css" file instead. Future updates may overwrite
 * this file, so keeping your customizations separate ensures
 * they remain safe and intact.
 *
 * ============================================================
 * CSS INDEX
 * ------------------------------------------------------------
 * 01. Base
 *     1.1 Typography
 *     1.2 Spacing
 *     1.3 Color
 *
 * 02. Layout
 *     2.1 Top Navbar
 *     2.2 Header
 *     2.3 Footer
 *     2.4 Theme Switcher Component
 *
 * 03. Sections
 *     3.1 Hero Section
 *     3.2 Intro Section
 *     3.3 Features Section
 *     3.4 Author Section
 *     3.5 FAQ Section
 *     3.6 Review Section
 *     3.7 Contribute Section
 *     3.8 Search Modal Backdrop
 *
 * 04. Theme
 *     4.1 Dark Theme
 * ============================================================
 */
:root {
    --rs-border-color: #e0e0e0;
    --rs-theme-icon-color: #000000;

    --top-nav-font-size: .85rem;

    --rs-body-bg-color-rgb: 255, 255, 255;
}

[theme="dark"] {
    --rs-border-color: #333333;
    --rs-theme-icon-color: #ffffff;
}

:root {
    --rs-body-bg-color: #ffffff;
    --rs-body-text-color: #000000;


    --rs-primary: #f9332b;
    --rs-primary-rgb: 249, 51, 43;
    --bs-primary-rgb: 249, 51, 43;
    --rs-card-bg: #ffffff;
    --rs-card-text-color: #000000;
    --rs-card-bg-shadow: 1px 1px 12px 4px #f2f2f2;
    --rs-border-color: var(--bs-primary-rgb);
}

[theme="dark"] {
    --rs-body-bg-color: #1E201E;
    --rs-body-text-color: #ffffff;

    --bs-emphasis-color-rgb: 255, 255, 255;

    --rs-card-bg: #1b1c1b;
    --rs-card-text-color: #ffffff;
    --rs-card-bg-shadow: 1px 1px 12px 4px #232523;
    --rs-border-color: var(--bs-primary-rgb);
}

body {
    position: relative;
    font-family: "Montserrat", sans-serif;
    background-color: var(--rs-body-bg-color);
    color: var(--rs-body-text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ************************
   1.1: Typography
************************* */
.section-container-header {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.section-container-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rs-body-text-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.section-container-subtitle {
    font-size: 1.125rem;
    color: var(--rs-body-text-color);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 650px;
}

/* ************************
   1.2: Spacing
************************* */


/* ************************
   1.3: Color
************************* */


/* ************************
   2.1: Top Navbar
************************* */
.top-navbar-main-container {
    border-bottom: 1px solid #ddd;
    font-size: var(--top-nav-font-size);
    overflow: hidden;
    height: auto;
    opacity: 1;
    visibility: visible;
    transition:
        height 0.5s ease-in-out,
        opacity 0.5s ease-in-out,
        visibility 0.5s ease-in-out;
}

.top-navbar-main-container a {
    color: #333e48;
    text-decoration: none;
    font-size: var(--top-nav-font-size);
    padding: .5rem 0;
}

.top-navbar-main-container .top-navbar-list-section {
    display: flex;
    align-items: center;
    font-size: var(--top-nav-font-size);
    font-weight: 500;
}

.top-navbar-main-container .top-navbar-list-section .list-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 .75rem;
}

.top-navbar-main-container .top-navbar-list-section .list-item a {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.top-navbar-main-container .top-navbar-list-section .list-item a .icon {
    font-size: .75rem;
    display: flex;
    align-items: center;
}

.top-navbar-main-container .top-navbar-list-section .list-item:last-child {
    position: unset;
    padding-inline-end: 0;
}

.top-navbar-main-container .top-navbar-list-section .list-item:after {
    position: absolute;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    content: '';
    height: .85rem;
    width: .105rem;
    background: #ddd;
}

.top-navbar-main-container .language-dropdown .dropdown-menu .language-item,
.top-navbar-main-container .currency-dropdown .dropdown-menu .currency-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #000;
    padding: .35rem .5rem;
    cursor: pointer;
    font-size: var(--top-nav-font-size);
}

.top-navbar-main-container .language-dropdown,
.top-navbar-main-container .currency-dropdown {
    position: relative;
    padding: .5rem 0;
}

.top-navbar-main-container .language-dropdown .dropdown-menu .language-item.active-language,
.top-navbar-main-container .language-dropdown .dropdown-menu .currency-item.active-currency,
.top-navbar-main-container .language-dropdown .dropdown-menu .language-item:hover,
.top-navbar-main-container .currency-dropdown .dropdown-menu .currency-item:hover {
    background-color: #e6e6e6;
}

.top-navbar-main-container .language-dropdown .dropdown-menu,
.top-navbar-main-container .currency-dropdown .dropdown-menu {
    inset: 100% 0 auto auto !important;
    transform: unset !important;
}

@media (max-width: 480px) {
    .top-navbar-main-container.mobile-view {
        height: 0;
        opacity: 0;
        visibility: hidden;
    }
}
/* ************************
   2.2: Header
************************* */
/* ************************
   2.2: Header
************************* */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(var(--rs-body-bg-color-rgb), 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--rs-primary-rgb), 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

[theme="dark"] header {
    background-color: rgba(30, 32, 30, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    padding: 0.75rem 0;
}

header .navbar-nav .nav-item {
    position: relative;
}

header .navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rs-body-text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

header .navbar-nav .nav-link:hover,
header .navbar-nav .nav-link.active {
    opacity: 1;
    color: var(--rs-primary);
}

header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

header .navbar-brand img {
    height: 38px;
    width: auto;
    transition: transform 0.3s ease;
}

header .navbar-brand:hover img {
    transform: scale(1.05);
}

header .navbar-brand div {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

header .navbar-brand div span:first-child {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--rs-body-text-color);
}

header .navbar-brand div span:last-child {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rs-primary);
}

/* Professional User Dropdown */
.header-user-dropdown-container {
    --dropdown-min-width: 240px;
    --item-padding: 10px 16px;
    --font-size: 13px;
}

.header-user-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 3px 14px;
    background: rgba(var(--rs-primary-rgb), 0.04);
    border: 1px solid var(--rs-border-color);
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.header-user-trigger:hover {
    background: rgba(var(--rs-primary-rgb), 0.08);
    border-color: var(--rs-primary);
}

.header-user-trigger .avatar-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--rs-body-text-color);
}

.header-user-trigger .avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

[theme="dark"] .header-user-trigger .avatar-img {
    border-color: #2e302e;
}

.header-profession-dropdown {
    min-width: var(--dropdown-min-width);
    padding: 8px;
    background: var(--rs-card-bg);
    border: 1px solid var(--rs-border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 10px !important;
}

.dropdown-user-header {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--rs-border-color);
}

.dropdown-user-header .user-fullname {
    font-size: 14px;
    font-weight: 800;
    color: var(--rs-body-text-color);
    margin: 0;
    line-height: 1.2;
}

.dropdown-user-header .user-email {
    font-size: 12px;
    color: var(--rs-body-text-color);
    opacity: 0.5;
    word-break: break-all;
}

.header-profession-dropdown .dropdown-item {
    padding: var(--item-padding);
    border-radius: 8px;
    font-size: var(--font-size);
    font-weight: 600;
    color: var(--rs-body-text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.header-profession-dropdown .dropdown-item i {
    font-size: 1rem;
    opacity: 0.6;
}

.header-profession-dropdown .dropdown-item:hover {
    background: rgba(var(--rs-primary-rgb), 0.08);
    color: var(--rs-primary);
}

.header-profession-dropdown .dropdown-item:hover i {
    opacity: 1;
}

.header-profession-dropdown .dropdown-item.text-danger:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

/* Header Sign In Button */
.header-signin-btn {
    padding: 7px 20px;
    background: var(--rs-primary);
    color: #fff;
    border: 1px solid var(--rs-primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--rs-primary-rgb), 0.15);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-signin-btn:hover {
    background: var(--rs-primary);
    filter: brightness(110%);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(var(--rs-primary-rgb), 0.25);
    color: #fff;
}

/* ************************
   2.3: Footer
************************* */
.section-footer-area {
    display: flex;
    align-items: center;
    font-size: .85rem;
    padding: 2rem 0;
}

.section-footer-area .social-media-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.section-footer-area .social-icon {
    font-size: 1rem;
    color: rgba(var(--rs-text-dark-light-rgb), .65);
    transition: color 0.3s;
}

.section-footer-area .social-icon:hover {
    color: rgba(var(--rs-text-dark-light-rgb), 1);
}

.section-footer-area .footer-link {
    color: rgba(var(--rs-text-dark-light-rgb), .75);
    text-decoration: none;
    transition: color 0.3s;
    font-size: .85rem;
}

.section-footer-area .footer-link:hover {
    color: rgba(var(--rs-text-dark-light-rgb), 1);
}

.section-footer-area .footer-logo {
    color: rgba(var(--rs-text-dark-light-rgb), .75);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    filter: drop-shadow(1px 2px 0px rgba(0, 0, 0, 0.25));
}

/* ************************
   2.4 Theme Switcher Component
************************* */
.theme-switcher {
    --switcher-icon-size: 26px;
    padding: 3px;
    width: fit-content;
    display: flex;
    border-radius: 9999px;
    border: 1px solid var(--rs-border-color);
}

.theme-switcher-button {
    width: var(--switcher-icon-size);
    height: var(--switcher-icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    border: 0;
    color: var(--rs-theme-icon-color);
    opacity: .8;
    background-color: transparent;
    cursor: pointer;
    transition: .5 ease-in-out all;
    font-size: calc(var(--switcher-icon-size) * 0.5);
}

.theme-switcher-button i.fi {
    line-height: .8;
}

.theme-switcher-button.active {
    background-color: var(--rs-primary);
    color: #fff;
    opacity: 1;
}

[theme="dark"] .theme-switcher-button.active {
    background-color: var(--rs-primary);
    color: #fff;
}

.theme-switcher-button:hover {
    opacity: 1;
}

/* ************************
   3.1: Hero Section
************************* */


/* ************************
   3.2: Intro Section
************************* */


/* ************************
   3.3: Features Section
************************* */


/* ************************
   3.4: Author Section
************************* */


/* ************************
   3.5: FAQ Section
************************* */


/* ************************
   3.6: Review Section
************************* */


/* ************************
   3.7: Contribute Section
************************* */


/* ************************
   4.1: Dark Theme
************************* */
