/*
Theme Name: Egovenz Child
Description: Child Theme for Egovenz Theme
Author: Zozothemes
Version: 1.0.1
Template: egovenz
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: zozotheme
*/

/*Custom Style Code Right Here */
.client-name {
    pointer-events: none;
}
.page-title-wrap h1.page-title {
    text-transform: initial;
}
.egovenz-header .header-inner .custom-container {
    width: 100%;
    padding: 0 30px;
}
.footer-top-sidebar ul {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.footer-top-sidebar .widget ul > li.menu-item:first-child {
    padding-top: 7px;
}
.footer-top-sidebar .widget ul > li.menu-item a {
    color: #fff;
}
.footer-top-sidebar .widget ul > li.menu-item a:before {
    content: none;
}
.footer-top-sidebar .widget ul li.menu-item + li.menu-item:before {
    content: "/";
    position: relative;
    left: -5px;
}
.footer-middle-sidebar .contact-widget-info>p>span:first-child {
    display: none;
}

.anfdf-search .elementor-form-fields-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
.anfdf-search .elementor-field-type-text input[type="text"] {
    width: 262px;
    height: 62px;
}

.anfdf-search .elementor-button.elementor-size-lg {
    width: 200px;
    height: 60px;
}

.green-one .anfdf-search form {
    background-color: #fff;
    padding: 6px;
    border-radius: 4px;
}

.green-one .anfdf-search .elementor-field-type-text input[type="text"] {
    width: 560px;
}

.green-one .anfdf-search .elementor-field-type-text {
    margin: 0;
}

.anfdf-has-list ul {
    list-style: disc;
    padding-left: 2rem;
}
.c2a3 .btn-primary {
    background-color: var( --e-global-color-accent );
    box-shadow: none;
}
.c2a3 .btn-check:focus+.btn-primary, .c2a3 .btn-primary:focus,
.c2a3 .btn-primary:hover {
    background-color: var(--e-global-color-secondary);
    box-shadow: none;
}
.elementor-widget-container ul {
    list-style: disc;
    padding-left: 2rem;
}

body:not(#main-theme) .buletine-listing {
    margin: 20px 0;
}
body:not(#main-theme) .buletine-filter {
    margin-bottom: 60px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}
body:not(#main-theme) .buletine-filter form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
body:not(#main-theme) .buletine-filter label {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    max-width: 145px;
}
body:not(#main-theme) .buletine-filter select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    min-width: 200px;
}
body:not(#main-theme) .buletine-list {
    list-style: none;
    padding: 0;
}
body:not(#main-theme) .buletin-item {
    position: relative;
    margin-bottom: 20px;
    padding: 30px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    overflow: hidden;
}
body:not(#main-theme) .buletin-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
body:not(#main-theme) .buletin-item::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: 2px;
    height: 15px;
    background-color: #0F8240;
}
body:not(#main-theme) .buletin-item::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 0;
    width: 2px;
    height: 30px;
    background-color: #0C1831;
}
body:not(#main-theme) .buletin-title {
    margin: 0;
    color: #000;
    font-size: 27px;
    width: 300px;
}
body:not(#main-theme) .buletin-meta {
    font-size: 16px;
    color: #000;
    font-weight: bold;
    width: 150px;
    text-align: center;
}

body:not(#main-theme) .buletin-file-details {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
body:not(#main-theme) .buletin-file-details img {
    width: 50px;
}
body:not(#main-theme) .file-download-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
body:not(#main-theme) .file-download-link:hover {
    color: #005177;
    text-decoration: underline;
}
body:not(#main-theme) .file-meta {
    font-size: 16px;
    color: #000;
}
body:not(#main-theme) .file-meta span {
    display: inline-block;
}
body:not(#main-theme) .buletine-pagination {
    margin-top: 20px;
    text-align: center;
}
body:not(#main-theme) .pagination-info {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}
body:not(#main-theme) .buletine-pagination .page-numbers {
    list-style: none;
    display: inline-flex;
    padding: 0;
    margin: 0;
    gap: 5px;
}
body:not(#main-theme) .buletine-pagination .page-numbers li {
    margin: 0;
}
body:not(#main-theme) .buletine-pagination .page-numbers a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #014210;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
body:not(#main-theme) .buletine-pagination .page-numbers .current {
    background: #014210;
    color: #fff;
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #014210;
    border-radius: 3px;
    transition: all 0.3s ease;
}
body:not(#main-theme) .buletine-pagination .page-numbers a:hover {
    background: #014210;
    border-color: #014210;
    color: #FFFFFF;
}
body:not(#main-theme) .buletine-pagination .page-numbers .prev,
body:not(#main-theme) .buletine-pagination .page-numbers .next {
    font-weight: 500;
}
body:not(#main-theme) .no-buletine {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
}

body:not(#main-theme) .buletine-form input[type="text"] {
    padding: 19px 20px;
    width: 100%;
}
body:not(#main-theme) .buletine-form input[type="file"] {
    padding: 0;
    width: 100%;
    background: transparent;
    border: none;
}
body:not(#main-theme) .buletine-form select {
    height: 52px;
}
body:not(#main-theme) .buletine-form button[type="submit"] {
    margin-top: 30px;
}

body:not(#main-theme) .buletine-form .elementor-message {
    display: none;
}

/* Input placeholder opacity for buletine form only */
.buletine-form input::placeholder,
.buletine-form input::-webkit-input-placeholder,
.buletine-form input::-moz-placeholder,
.buletine-form input:-ms-input-placeholder,
.buletine-form textarea::placeholder,
.buletine-form textarea::-webkit-input-placeholder,
.buletine-form textarea::-moz-placeholder,
.buletine-form textarea:-ms-input-placeholder {
    opacity: 1 !important;
}

/* Ensure placeholder text color is visible for buletine form */
.buletine-form input::-webkit-input-placeholder {
    opacity: 1 !important;
    color: inherit;
}

.buletine-form input::-moz-placeholder {
    opacity: 1 !important;
    color: inherit;
}

.buletine-form input:-ms-input-placeholder {
    opacity: 1 !important;
    color: inherit;
}

.buletine-form textarea::-webkit-input-placeholder {
    opacity: 1 !important;
    color: inherit;
}

.buletine-form textarea::-moz-placeholder {
    opacity: 1 !important;
    color: inherit;
}

.buletine-form textarea:-ms-input-placeholder {
    opacity: 1 !important;
    color: inherit;
}

/* Custom file input with Romanian translation */
.buletine-form .file-input-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 14px;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
}

.buletine-form .file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.buletine-form .file-input-wrapper .file-input-label {
    display: inline-block;
    background: #6C757D;
    color: white;
    padding: 14px 21px;
    border-radius: 0;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 14px;
    transition: background 0.3s ease;
    font-weight: 600;
}

.buletine-form .file-input-wrapper .file-input-label:hover {
    background: #005177;
}

.buletine-form .file-input-wrapper .file-status {
    color: #6C757D;
    font-size: 18px;
}

.buletine-form .file-input-wrapper .file-status.has-file {
    color: #333;
    font-style: normal;
    font-weight: 500;
}

/* AJAX form messages styling */
.buletine-form-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
    margin-top: 10px;
}

.buletine-form-success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.buletine-form-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* Submit button loading state */
.buletine-form button[type="submit"]:disabled,
.buletine-form input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Enhanced submitting state with animation */
.buletine-form button[type="submit"].submitting,
.buletine-form input[type="submit"].submitting {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

/* Loading animation for submit button */
.buletine-form button[type="submit"].submitting::after,
.buletine-form input[type="submit"].submitting::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.8);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Disable form interactions during submission */
.buletine-form.submitting {
    pointer-events: none;
}

.buletine-form.submitting input,
.buletine-form.submitting select,
.buletine-form.submitting textarea {
    opacity: 0.6;
}

/* Input validation error styles */
.buletine-form input.validation-error,
.buletine-form select.validation-error,
.buletine-form textarea.validation-error {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.buletine-form input.validation-error:focus,
.buletine-form select.validation-error:focus,
.buletine-form textarea.validation-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    outline: none !important;
}

/* File input error styling */
.buletine-form .file-input-wrapper.validation-error .file-input-label {
    background: #dc3545 !important;
}

.buletine-form .file-input-wrapper.validation-error .file-status {
    color: #dc3545 !important;
    font-weight: 500 !important;
}

/* Animation for error state */
.buletine-form .validation-error {
    animation: shake 0.5s ease-in-out;
}

.single-post-template article .article-inner .entry-content {
    margin-right: 0;
    margin-left: 0;
}

.topbar .top-link {
    display: inline-block;
    padding: 3px 10px;
    background-color: #fff;
    color: #0f8240;
    border: 1px solid #fff;
    transition: all 0.3s ease;
    line-height: 1 !important;
    height: auto !important;
    margin-left: 5px;
}

.topbar .top-link:hover {
    background-color: #0f8240;
    color: #fff;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media screen and (max-width: 1199px) {
    .green-one .anfdf-search .elementor-field-type-text input[type="text"] {
        width: 260px;
    }
    .anfdf-search .elementor-button.elementor-size-lg {
        width: 120px;
    }
    .single-post-template article {
        padding: 0 16px;
    }
}

.maximized-menus {
    max-height: 135px;
    overflow-y: auto;
}