/*
 Theme Name: OXTheme
 Author: LAca
 Version: 1.6.84
 Text Domain: oxtheme
 Requires at least: 5.0
 Tested up to: 6.3
 Requires PHP: 7.0
*/

:root {
    --background-color: #e0e0e0;
    --white-color: #ffffff;
    --black-color: #000000;
    --text-color: #212529;
    --link-color: #0066cc;
    --link-hover-color: #0056b3;
    --button-bg-color: #0066cc;
    --button-hover-bg-color: #0056b3;
    --border-color: #d1d5db;
    --label-color: #6b7280;
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    direction: rtl;
}

header {
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.my-logo {
    display: block;
    padding: 0;
    margin: 0;
    line-height: normal;
}

.my-logo img {
    width: 192px;
    height: 192px;
}

#content {
    display: flex;
    margin: 20px auto;
    padding: 0 15px;
}

#primary {
    flex: 2;
}

.post {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 25px;
    transition: transform 0.2s ease;
}



.entry-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.entry-title a:hover {
    color: var(--link-color);
}


footer {
    background-color: var(--white-color);
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}

nav {
    text-align: center;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.nav-menu li {
    padding: 0 15px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-bottom: 1px solid var(--white-color);
}

.nav-menu li a:hover {
    color: var(--link-color);
    border-bottom: 1px solid var(--link-color);
}

.entry-header {
    box-shadow: none;
    padding: 0;
}

.entry-title {
    margin-bottom: 0.8em;
    color: var(--text-color);
    font-weight: 600;
}

.featured-image {
    display: block;
}

.featured-image img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.post-price {
    color: red;
    font-weight: bold;
    font-size: 1.1em;
    color: red;
}

.rial-btn {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    background-color: #ff7a18;
    color: var(--white-color);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .12s ease;
    width: 160px;
    margin-top: 10px;
}

.rial-btn:hover,
.rial-btn:focus {
    box-shadow: 0 6px 16px rgba( 255,122,24,0.25 );
    color: var(--white-color);
    text-decoration: none;
}

.green-btn {
    background-color: #28a745;
}

.green-btn:hover,
.green-btn:focus {
    box-shadow: 0 6px 16px rgba( 40, 167, 69, 0.25 );
}

.red-btn {
    background-color: #dc3545;;
}

.red-btn:hover,
.red-btn:focus {
    box-shadow: 0 6px 16px rgba( 220, 53, 69, 0.25 );
}

.light-blue-btn {
    background-color: #5bc0de;
}

.light-blue-btn:hover,
.light-blue-btn:focus {
    box-shadow: 0 6px 16px rgba( 91, 192, 222, 0.25 );
}

.bank-logo {
    width: 160px;
    border: 1px solid var(--border-color);
    margin: 5px 0;
}

#h-captcha {
    margin-top: 10px;
    width: 200px;
    height: 75px;
}

#reload-captcha {
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    display: inline-flex !important;
    margin-top: -22px;
    width: 22px;
    height: 22px;
}

#cccaptcha {
    max-width: 200px !important;
}

form {
    display: flex;
    flex-direction: column;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="password"],
select,
textarea {
    padding: 10px 16px;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: transparent;
    color: var(--black-color);
    border: 1px solid var(--border-color);
    max-width: 100%;
}

.ltr {
    direction: ltr;
}

form label {
    color: var(--label-color);
    cursor: pointer;
}

.pagination a {
    padding: 12px 20px;
    margin: 0 5px;
    background-color: var(--button-bg-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--button-hover-bg-color);
}

.nav-previous,
.nav-next {
    display: inline-block;
}

a {
    text-decoration: underline;
    color: #0073aa;
}

a:hover,
a:focus {
    color: #005177;
}

hr {
    border: 0;
    margin: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

a:focus,
button:focus,
input:focus,
textarea {
    outline: 0 !important;
}

.new-x-button {
    text-decoration: none;
    padding: 0;
    margin: 0 5px 0 0;
    border-radius: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: red;
}

.hiddenform {
    display: none;
}

.form-toggler {
    text-decoration: none !important;
    color: #dc3545 !important;
    font-weight: bold;
}

#help-form {
    flex-direction: column;
}

.flashing {
    animation: flash 1s infinite;
}

.flashing2 {
    animation: flash2 1s infinite;
}

.flashing3 {
    animation: flash3 1s infinite;
}

@keyframes flash {
  0%, 100% {
      color: black;
  }

  50% {
      color: red;
  }
}

@keyframes flash2 {
  0%, 100% {
      color: black;
  }

  50% {
      color: yellow;
  }
}

@keyframes flash3 {
  0%, 100% {
      color: black;
  }

  50% {
      color: cyan;
  }
}

@media (min-width: 768px) {
    .nav-menu {
        flex-direction: row;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
    }
    
    #content {
        max-width: 1200px;
    }
}