html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.review-3 {
  display: flex;
  flex-direction: column; /* Öğeleri alt alta sırala */
  align-items: stretch;   /* Öğeleri genişlet */
  justify-content: center; /* Dikey olarak ortala */
}

/* Login Page Styles */
.login-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.login-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-form-header h3 {
    color: #333;
    margin-bottom: 10px;
}

.login-form-header p {
    color: #666;
}

.login-form .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: #666;
    width: 45px;
    justify-content: center;
}

.login-form .form-control {
    border-left: none;
}

.login-form .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.login-form .input-group:focus-within .input-group-text {
    border-color: #dc3545;
    background-color: #fff;
}

.login-form .input-group .form-control:focus {
    border-left: 1px solid #dc3545;
}

.btn-rose {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    padding: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-rose:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.login-form .form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.login-form .alert {
    border-radius: 6px;
}

@media (max-width: 768px) {
    .login-form {
        padding: 30px 20px;
    }
}

/* Register Form Specific Styles - Override theme styles */
.login-section .login-form .form-label {
    font-size: 0.875rem !important;
    color: #666 !important;
    margin-bottom: 0.5rem !important;
    font-weight: 400 !important;
    display: block !important;
}

.login-section .login-form .input-group {
    margin-bottom: 0.5rem !important;
    width: 100% !important;
}

.login-section .login-form .input-group-text {
    background-color: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    border-right: none !important;
    color: #666 !important;
    width: 45px !important;
    justify-content: center !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.25rem 0 0 0.25rem !important;
}

.login-section .login-form .form-control {
    border: 1px solid #ced4da !important;
    border-left: none !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #495057 !important;
    background-color: #fff !important;
    border-radius: 0 0.25rem 0.25rem 0 !important;
    height: auto !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.login-section .login-form .form-control:focus {
    border-color: #dc3545 !important;
    border-left: 1px solid #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    outline: 0 !important;
}

.login-section .login-form .input-group:focus-within .input-group-text {
    border-color: #dc3545 !important;
    background-color: #fff !important;
}

.login-section .login-form .text-danger {
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

.login-section .login-form .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.login-section .login-form .row > [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.login-section .login-form .mb-3 {
    margin-bottom: 1rem !important;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* Menü yüksekliği kadar */
}

.logo-img {
    height: 100px; /* Net değer VER */
    width: auto; /* Oranlı genişlik */
}

/* Logo boşluk düzeltmeleri */
.desktoplogo {
    padding: 0 !important;
    margin: 0 !important;
    float: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 150px;
    line-height: 0;
    box-sizing: border-box;
}

.desktoplogo a {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    line-height: 0;
    text-decoration: none;
    box-sizing: border-box;
}

.desktoplogo img {
    height: auto !important;
    max-height: 150px !important;
    min-height: 120px !important;
    width: auto;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box;
}

/* Mobil logo düzeltmeleri */
.smllogo {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    line-height: 0;
    box-sizing: border-box;
}

.smllogo img {
    height: auto !important;
    max-height: 100px !important;
    min-height: 80px !important;
    width: auto;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box;
}

.wsmobileheader {
    padding: 8px 16px !important;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Desktop'ta mobile logo'yu gizle */
@media (min-width: 992px) {
    .wsmobileheader {
        display: none !important;
    }
}

/* Mobilde desktop logo'yu gizle */
@media (max-width: 991px) {
    .desktoplogo {
        display: none !important;
    }
}

/* Footer Referans Logo Styles - Modern Grid Design */
.footer-references {
    padding: 20px 0;
}

.footer-references h5 {
    color: #283034;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.reference-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.reference-logo-box {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.reference-logo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.reference-logo-box:hover::before {
    left: 100%;
}

.reference-logo-box:hover {
    transform: translateY(-5px);
    border-color: #dc3545;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.15);
    background: #fff;
}

.reference-logo {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.8);
    transition: all 0.4s ease;
}

.reference-logo-box:hover .reference-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Desktop Styles (≥992px) */
@media (min-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .reference-logo-box {
        height: 110px;
        padding: 20px 25px;
    }
    
    .reference-logo {
        max-height: 70px;
    }
}

/* Tablet Styles (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .reference-logo-box {
        height: 100px;
        padding: 15px 20px;
    }
    
    .reference-logo {
        max-height: 60px;
    }
}

/* Small Tablet Styles (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    .reference-logo-box {
        height: 90px;
        padding: 12px 15px;
    }
    
    .reference-logo {
        max-height: 55px;
    }
}

/* Mobile Styles (<576px) */
@media (max-width: 575px) {
    .footer-references {
        padding: 15px 0;
    }
    
    .footer-references h5 {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }
    
    .reference-logo-box {
        height: 80px;
        padding: 10px 12px;
        border-radius: 6px;
    }
    
    .reference-logo {
        max-height: 45px;
    }
    
    .reference-logo-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(220, 53, 69, 0.12);
    }
}

/* Extra Small Mobile (<400px) */
@media (max-width: 400px) {
    .references-grid {
        gap: 10px;
        padding: 0 5px;
    }
    
    .reference-logo-box {
        height: 70px;
        padding: 8px 10px;
    }
    
    .reference-logo {
        max-height: 40px;
    }
}