/*
Theme Name:   Geoit Child
Theme URI:    https://www.kanthemes.com/landing/geoit
Description:  Geoit Theme Child Theme
Author:       Kan Themes
Author URI:   https://www.kanthemes.com
Template:     geoit
Version:      1.3.1
License: Geoit License
License URI: https://www.kanthemes.com/tema/geoit/lisans/
Text Domain:  geo-child
*/

/* Ana sayfada kaldirilan geoit-single paketinden gercekte eslesen uc kural. */
embed,
iframe,
object {
    min-height: 250px;
    height: auto;
    max-width: 100%;
}

.content--page,
.content__single {
    overflow-wrap: break-word;
}

.geoit-fp-inner {
width: 100%;
}

/* Şifre göster/gizle göz ikonu */
.toggle-password {
position: absolute;
right: 16px;
padding: 0 !important;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
z-index: 2;
display: flex;
align-items: center;
}
.toggle-password .eye-icon {
transition: stroke 0.2s;
stroke: #888;
}
.toggle-password:hover .eye-icon {
stroke: #222;
}

/* Şifre inputunu saran form-group veya form-label-group için relative pozisyon */
.form-group, .form-label-group {
position: relative;
}

/* Göz ikonu ile input arasında çakışmayı önle */
input[type="password"] {
padding-right: 38px;
}

#loginform .toggle-password {
    bottom: 15px;
    transform: none;
    top: auto;
}


.geoit-lr-page-5141 input:not([type=submit]):not([type=checkbox]) {
box-shadow: none !important;
}


.page-template-template-dashboard .kan-banner {
display: block !important;
}

.geoit_login.collapsible-active .geoit_login-wrapper{
text-align: left;
box-shadow: none;
}

.profile-settings {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.profile-setting-item p {
font-size: 12px !important;
}

/* ===== TARİF PUANLAMA SİSTEMİ VE BEN DE YAPTIM BUTONU CSS ===== */

.dark-mode .geoit-recipe-rating-wrapper {
background: #2d3748;
border-color: #4a5568;
color: #e2e8f0;
}

.dark-mode .user-rating-info {
background: #2d3748;
border-color: #4a5568;
color: #e2e8f0;
}
.geoit-recipe-rating-wrapper {
background: #f8f9fa;
border: 1px solid var(--theme_border);
border-radius: 8px;
padding: 20px;
margin: 20px 0;
/* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

.geoit-recipe-rating h4 {
margin: 0 0 15px 0;
font-size: 18px;
font-weight: 600;
}

.rating-display {
margin-bottom: 15px;
}

.stars-display, .stars-input {
display: flex;
align-items: center;
gap: 2px;
margin-bottom: 5px;
flex-wrap: wrap;
}

.star-display, .star-input {
font-size: 38px;
color: #ddd;
cursor: default;
line-height: 1;
transition: color 0.2s ease;
user-select: none;
}

.star-display.filled {
color: #ffc107;
text-shadow: 0 0 3px rgba(255, 193, 7, 0.3);
}

.star-input {
cursor: pointer;
transform: scale(1);
transition: all 0.2s ease;
}

.star-input:hover,
.star-input.hover {
color: #ffc107;
transform: scale(1.1);
text-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

.stars-input.loading .star-input {
opacity: 0.5;
cursor: not-allowed;
}

.rating-text {
margin-left: 10px;
color: #6c757d;
font-size: 14px;
font-weight: 500;
}

.user-rating-info {
background: #d4edda;
border: 1px solid var(--theme_border);
border-radius: 6px;
padding: 12px;
margin-top: 10px;
animation: slideIn 0.3s ease;
}

.user-rating-info p {
margin: 0;
color: #155724 !important;
font-weight: 500;
}

.user-rating-info .change-rating {
color: #007bff;
text-decoration: underline;
font-size: 12px;
margin-left: 8px;
cursor: pointer;
}

.user-rating-info .change-rating:hover {
color: #0056b3;
}

.rating-help {
margin: 5px 0 0 0;
color: #6c757d;
font-size: 12px;
font-style: italic;
}

.geoit-recipe-made-it {

padding-top: 15px;
margin-top: 15px;
text-align: center;
}

.geoit-recipe-rating {
border-bottom: 1px solid var(--theme_border);
}

.made-it-button {
background: linear-gradient(135deg, #28a745, #20c997);
color: white;
border: none;
border-radius: 25px;
padding: 12px 24px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 8px;
box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
position: relative;
overflow: hidden;
}

.made-it-button:before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s;
}

.made-it-button:hover:before {
left: 100%;
}

.made-it-button:hover {
background: linear-gradient(135deg, #218838, #1ba085);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.made-it-button:active {
transform: translateY(0);
}

.made-it-button:disabled {
background: #6c757d;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

.made-it-button:disabled:before {
display: none;
}

.made-it-success {
background: linear-gradient(135deg, #d4edda, #c3e6cb);
border: 1px solid #c3e6cb;
border-radius: 25px;
padding: 12px 24px;
display: inline-flex;
align-items: center;
gap: 8px;
color: #155724;
font-weight: 600;
animation: bounceIn 0.5s ease;
}

.made-it-success .undo-made-it {
color: #dc3545;
text-decoration: underline;
font-size: 12px;
margin-left: 8px;
cursor: pointer;
font-weight: 400;
}

.made-it-success .undo-made-it:hover {
color: #c82333;
}

.made-it-icon {
font-size: 18px;
animation: pulse 2s infinite;
}

.made-it-count {
display: block;
margin-top: 8px;
color: #6c757d;
font-size: 12px;
font-weight: 400;
}

.geoit-rating-message {
position: fixed;
top: 20px;
right: 20px;
color: white;
padding: 15px 25px;
border-radius: 8px;
z-index: 9999;
display: none;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
max-width: 300px;
font-weight: 500;
animation: slideInRight 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
.geoit-recipe-rating-wrapper {
padding: 15px;
margin: 15px 0;
}

.star-display, .star-input {
font-size: 20px;
}

.stars-display, .stars-input {
justify-content: center;
}

.made-it-button {
padding: 10px 20px;
font-size: 14px;
}

.geoit-rating-message {
top: 10px;
right: 10px;
left: 10px;
max-width: none;
}
}

/* Animasyonlar */
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes bounceIn {
0% {
opacity: 0;
transform: scale(0.3);
}
50% {
transform: scale(1.05);
}
70% {
transform: scale(0.9);
}
100% {
opacity: 1;
transform: scale(1);
}
}

@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}

@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
}

/* Tema uyumluluğu için ek stiller */
.geoit-recipe-rating-wrapper h4 {
font-family: inherit;
}

.made-it-button, .made-it-success {
font-family: inherit;
}

/* ===== GO TO TOP BUTONU CSS ===== */
/* Go to Top Butonu Base Styles */
.geoit-goto-top {
position: fixed;
bottom: 30px;
z-index: 9999;
cursor: pointer;
user-select: none;
transition: all 0.3s ease;
opacity: 0;
visibility: hidden;
display: block;
}

.geoit-goto-top.show {
opacity: 1;
visibility: visible;
}

/* Pozisyon Ayarları */
.geoit-goto-top.right {
right: 30px;
}

.geoit-goto-top.left {
left: 30px;
}

.geoit-goto-top.center {
left: 50%;
transform: translateX(-50%);
}

/* Style 1: Minimalist Ok */
.geoit-goto-top.style1 {
width: 40px;
height: 40px;
background: var(--goto-top-bg, color-mix(in sRGB, var(--goto-top-base, var(--theme_color)) calc((var(--goto-top-opacity, 0.7)) * 100%), transparent));
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.geoit-goto-top.style1:hover {
background: var(--goto-top-bg, color-mix(in sRGB, var(--goto-top-base, var(--theme_color)) calc((min(calc((var(--goto-top-opacity, 0.7)) + 0.2), 1) * 100%)), transparent));
transform: translateY(-2px);
}

.geoit-goto-top.style1 .goto-top-arrow {
color: #fff;
font-size: 24px;
font-weight: bold;
line-height: 1;
}

/* Style 2: Modern Yuvarlak */
.geoit-goto-top.style2 {
width: 40px;
height: 40px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.geoit-goto-top.style2:hover {
transform: scale(1.1);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.geoit-goto-top.style2 .goto-top-icon {
color: #fff;
font-size: 20px;
line-height: 1;
}

/* Style 3: Klasik Kare */
.geoit-goto-top.style3 {
width: 45px;
height: 40px;
background: #e74c3c;
border-radius: 3px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
border: 2px solid #c0392b;
}

.geoit-goto-top.style3:hover {
background: #c0392b;
transform: translateY(-1px);
box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.geoit-goto-top.style3 .goto-top-text {
color: #fff;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px;
}

/* Animasyon Türleri */
.geoit-goto-top.fade {
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.geoit-goto-top.slide {
transform: translateY(100px);
transition: transform 0.3s ease, opacity 0.3s ease;
}

.geoit-goto-top.slide.show {
transform: translateY(0);
}

.geoit-goto-top.slide.center.show {
transform: translateX(-50%) translateY(0);
}

.geoit-goto-top.zoom {
transform: scale(0);
transition: transform 0.3s ease, opacity 0.3s ease;
}

.geoit-goto-top.zoom.show {
transform: scale(1);
}

.geoit-goto-top.zoom.center.show {
transform: translateX(-50%) scale(1);
}

/* Responsive */
@media (max-width: 768px) {
.geoit-goto-top {
bottom: 50px;
}

.geoit-goto-top.right {
right: 20px;
}

.geoit-goto-top.left {
left: 20px;
}

.geoit-goto-top.style1,
.geoit-goto-top.style2 {
width: 35px;
height: 35px;
}

.geoit-goto-top.style3 {
width: 40px;
height: 35px;
}

.geoit-goto-top.style1 .goto-top-arrow {
font-size: 20px;
}

.geoit-goto-top.style2 .goto-top-icon {
font-size: 18px;
}

.geoit-goto-top.style3 .goto-top-text {
font-size: 10px;
}
}

#geoit-tag-dropdown ul>li>a, .content__post--article_tags a {
text-transform: capitalize;
}

/* ===== PWA (PROGRESSIVE WEB APP) CSS ===== */

/* PWA Popup Styles */
.geoit-pwa-popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(2px);
animation: pwaFadeIn 0.3s ease;
}

/* Body class when popup is active */
.pwa-popup-active {
overflow: hidden;
}

.geoit-pwa-popup-content {
background: #ffffff;
border-radius: 12px;
max-width: 420px;
width: 90%;
max-height: 90vh;
overflow: hidden;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
animation: pwaSlideUp 0.4s ease;
position: relative;
}

.geoit-pwa-popup-header {
padding: 24px 24px 16px 24px;
border-bottom: 1px solid #e1e5e9;
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}

.geoit-pwa-popup-header h3 {
margin: 0;
font-size: 20px;
font-weight: 600;
color: white;
}

.geoit-pwa-popup-close {
background: rgba(255, 255, 255, 0.2);
border: none;
border-radius: 50%;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: white;
font-size: 18px;
font-weight: bold;
transition: all 0.2s ease;
}

.geoit-pwa-popup-close:hover {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.1);
}

.geoit-pwa-popup-body {
padding: 24px;
text-align: center;
}

.geoit-pwa-popup-body p {
margin: 0;
color: #4a5568;
line-height: 1.6;
font-size: 16px;
}

.geoit-pwa-popup-footer {
padding: 16px 24px 24px 24px;
display: flex;
gap: 12px;
flex-direction: column;
}

.geoit-pwa-install-btn {
background: linear-gradient(135deg, #4CAF50, #45a049);
color: white;
border: none;
padding: 14px 28px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
position: relative;
overflow: hidden;
}

.geoit-pwa-install-btn:before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s;
}

.geoit-pwa-install-btn:hover:before {
left: 100%;
}

.geoit-pwa-install-btn:hover {
background: linear-gradient(135deg, #45a049, #3d8b40);
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.geoit-pwa-install-btn:active {
transform: translateY(0);
}

.geoit-pwa-later-btn {
background: #f8f9fa;
color: #6c757d;
border: 1px solid #dee2e6;
padding: 12px 24px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
}

.geoit-pwa-later-btn:hover {
background: #e9ecef;
color: #495057;
border-color: #adb5bd;
}

/* PWA Icon Styles */
.pwa-app-icon {
width: 64px;
height: 64px;
border-radius: 12px;
margin: 0 auto 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dark Mode Support */
.dark-mode .geoit-pwa-popup-content {
background: #2d3748;
color: #e2e8f0;
}

.dark-mode .geoit-pwa-popup-header {
border-bottom-color: #4a5568;
}

.dark-mode .geoit-pwa-popup-body p {
color: #cbd5e0;
}

.dark-mode .geoit-pwa-later-btn {
background: #4a5568;
color: #e2e8f0;
border-color: #718096;
}

.dark-mode .geoit-pwa-later-btn:hover {
background: #718096;
border-color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 480px) {
.geoit-pwa-popup-content {
margin: 20px;
width: auto;
max-width: none;
}

.geoit-pwa-popup-header {
padding: 20px 20px 14px 20px;
}

.geoit-pwa-popup-header h3 {
font-size: 18px;
}

.geoit-pwa-popup-body {
padding: 20px;
}

.geoit-pwa-popup-footer {
padding: 14px 20px 20px 20px;
flex-direction: column;
}

.geoit-pwa-install-btn,
.geoit-pwa-later-btn {
width: 100%;
text-align: center;
}
}

/* PWA Animations */
@keyframes pwaFadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

@keyframes pwaSlideUp {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}

@keyframes pwaPulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}

/* PWA Status Indicators */
.pwa-status-indicator {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: 500;
}

.pwa-status-indicator.installed {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}

.pwa-status-indicator.available {
background: #cce5ff;
color: #004085;
border: 1px solid #99cfff;
}

/* PWA Install Button (for manual integration) */
.pwa-install-button {
display: none;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
transition: all 0.2s ease;
}

.pwa-install-button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pwa-install-button.show {
display: inline-block;
}

/* PWA Offline Indicator */
.pwa-offline-indicator {
position: fixed;
bottom: 20px;
left: 20px;
background: #ff6b6b;
color: white;
padding: 8px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 500;
z-index: 9998;
display: none;
animation: pwaSlideUp 0.3s ease;
}

.pwa-offline-indicator.show {
display: block;
}

/* PWA Update Available Notification */
.pwa-update-notification {
position: fixed;
top: 20px;
right: 20px;
background: #4CAF50;
color: white;
padding: 12px 20px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
z-index: 9998;
display: none;
max-width: 300px;
animation: pwaSlideUp 0.3s ease;
}

.pwa-update-notification.show {
display: block;
}

.pwa-update-notification button {
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
margin-top: 8px;
transition: all 0.2s ease;
}

.pwa-update-notification button:hover {
background: rgba(255, 255, 255, 0.3);
}

.geo_breadcrumb>li>*:not(:Hover):not(span) {
opacity: 1;
}


.geoit-profile-card-username {
opacity: .75;
}



.geoit_login_232 .or-div span:after {
content: none !important;
}
.geoit-post-layout-cover-content .geo_breadcrumb {
display: flex !important;
}

.navigation.pagination .page-numbers:not(.prev):not(.next):not(.current) {
display: inline-flex !important;
}

.login_headline {
text-align: center;
border: 0 !important;
padding: 30px 30px 15px !important;
}

.login_headline .login-close {
height: 50px;
background: transparent;
border: 0;
color: inherit;
font-size: 2rem;
right: 20px;
}

.page-template-template-dashboard #content .geoit_login-wrapper {
box-shadow: none !important;
max-width: 100% !important;
}
.geoit-lr-page-51412 {
padding: 2rem;
margin: 2rem 0;
}

.dark-mode .geoit_login-wrapper, .dark-mode .kan-header-mobile .header__bottom--menu {
background: transparent !important
}

#geoit-login .reg_btn {
background-color: var(--theme_color) !important;
}

.geoit-lr-page-51412-wrap>.mb-2 {
text-align: center;
}

.geoit-lr-page-51412-logo {
text-align: center;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid var(--theme_border);
}

.sdflko21 {
display: flex;
align-items: center;
margin-bottom: 1em;
gap: 10px;
}


@media (min-width: 768px) {
.sdflko21 p {
font-size: 18px !important; 
}
}
.sdflko21 .form-control {
margin-bottom: 0;
}
.sdflko21 .form-label-group {
flex: 1
}

.nsl-button-google {
color: #000 !important;
border:1px solid var(--theme_border) !important;
}

.or-div span:after {
content: none !important;
}

.page-template-temp:not(.logged-in) #inner-wrap>.container {
max-width: 712px !important;
}

.geoit-lr-page-51412-wrap h1 {
font-size: 22px !important;
}

[data-repeater-item] .g21 .form-control {
padding-top: 25px !important;
padding-bottom: 5px !important;
}

.content__recent-posts--group ul.tabs li {
padding: 0 8px ;
}
.content__recent-posts--group ul.tabs {
height: auto;
}

@media (max-width: 768px) {
.page-template-template-trending .post-list-group {
display: flex;
flex-wrap: wrap;
width: 100%;
}
.geoit-category-images-style7 .col-12.col-md-3, .page-template-template-trending .uck-card-list {
width: 50%;
float: left;
flex: 0 0 50%;
max-width: 50%;
}
.page-template-template-trending .uck-card-list .uck-card--right {
display: none;
}
.page-template-template-trending .uck-card-list .uck-card--left {
    width: 100% !important;
}
.page-template-template-trending .uck-card-list::before {

top: 26px !important;
}
}

.kan-header-mobile .geo-menu {
    gap: .5rem !important;
    justify-content: center;
}

.geoit_login-wrapper form>* {
    position: relative;
}

.geoit-ingredients-item-2:before, .wp-block-geoit-core-recipe .geoit-ingredients-items li:before {
    flex-shrink: 0;
}
.thanks-button svg {
    vertical-align: middle;
}
.thanks-done svg {
    fill: #fff !important;
    vertical-align: middle;
}
.thanks-done {
    background-color: var(--theme_color) !important;
    color: #fff !important;
}
.thanks-done:hover {
    background-color: var(--theme_color) !important;
    color: #fff !important;
}
.thanks-done:active {
    background-color: var(--theme_color) !important;
    color: #fff !important;
}
.thanks-done:focus {
    background-color: var(--theme_color) !important;
    color: #fff !important;
}

/* v1.2.8: PageSpeed erisilebilirlik, reklam alani ve gorsel kaynak duzeltmeleri. */
body .geo_first_category.geo_first_category_style-3 {
    background-color: #8f1237 !important;
    color: #fff !important;
}

#footer .footer__bottom .header__row > a,
#footer .footer__bottom .header__row > p a {
    text-decoration: underline !important;
    text-decoration-thickness: .08em !important;
    text-underline-offset: .16em !important;
}

.ram-ad--header.ram-ad--both {
    display: block;
    min-height: 280px !important;
}

.ram-ad--header.ram-ad--both .adsbygoogle {
    display: block;
    min-height: 280px !important;
}

#cookieadmin_customize_button,
.cookieadmin_cookie_modal .cookieadmin_show_pref_cookies {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
}

.cookieadmin_cookie_modal .cookieadmin_close_pref {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 4px !important;
}
