/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.5
	Stable tag: 3.4.5
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/*
Theme Name: Custom Professional Header
Description: Separated styles for the optimized header
*/

:root {
    --color-primary: #004CF2;
    --color-primary-hover: #005bb5;
    --color-bg-light: #f9f9f9;
    --color-badge-bg: #e6f1ff;
    --color-border: #0072f2;
    --header-height: 38px;
}

html {
    font-family: 'artin', 'Vazirmatn', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding-top: var(--header-height);
    background-color: var(--color-bg-light);
    font-size: 14px;
}

/* Hide default branding if necessary */
.site-branding {
    display: none !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    min-height: 25px;
    padding: 4px 10px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transition: all .3s ease;
}

.welcome-text {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 13px;
    z-index: 2;
    white-space: nowrap;
}

.date-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-badge-bg);
    color: var(--color-primary-hover);
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid var(--color-border);
    white-space: nowrap;
    z-index: 1;
}

.back-btn {
    background-color: var(--color-border);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    text-decoration: none;
    transition: background-color .2s ease, transform .1s ease;
}

.back-btn:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

.back-btn:active {
    transform: scale(0.95);
}

.back-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block-end: 0 !important;
    padding-block-start: 0 !important;
    position: relative;
}

/* Admin Bar Compatibility */
body.admin-bar .header-container {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header-container {
        top: 46px;
    }
}