body {
    text-align: left !important;
}

.gl-tarz .btn-success {
    background-color: #e0f5e9 !important;
    color: #2d6b4a !important;
    border-color: #b8e5cc !important;
    font-size: 15px !important;
    padding: 6px 16px !important;
}

.gl-tarz input {
    border-radius: 4px !important;
    font-size: 16px !important;
    background: #f8fafc !important;
    color: #555 !important;
    padding: 10px !important;
}

.gl-tarz select {
    border-radius: 4px !important;
    font-size: 16px !important;
    background: #f8fafc !important;
    color: #555 !important;
    padding: 18px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
}

.gl-tarz textarea {
    border-radius: 4px !important;
    font-size: 16px !important;
    background: #f8fafc !important;
    color: #555 !important;
    padding: 18px !important;
}

.gl-tarz .bg-danger {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
}

.gl-tarz .bg-warning {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
}

.gl-tarz .bg-info {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
}

.gl-tarz .bg-dark {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
}

.gl-login-container-header {
    padding: 30px 0;
    margin: 0 0 30px 0;
    background: #f8fafc;
}

.gl-login-container-header h1 {
    font-size: 32px;
    font-weight: 500;
}

/* Breadcrumb Styles */
.gl-login-container-header ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.gl-login-container-header ol li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}

.gl-login-container-header ol li a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.gl-login-container-header ol li a:hover {
    color: #6366f1;
}

.gl-login-container-header ol li span {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0 4px;
}

.gl-login-container-header ol li.active {
    color: #1e293b;
    font-weight: 600;
}

.gl-login-container {
    padding: 60px 0;
}

.gl-login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .gl-login-wrapper {
        grid-template-columns: 1fr;
    }
}

.gl-auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid #f8fafc;
}

.gl-pastel-header {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
}

.gl-pastel-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #4c1d95;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gl-pastel-header h2 i {
    color: #8b5cf6;
    font-size: 24px;
}

.gl-pastel-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.gl-form-group {
    margin-bottom: 20px;
}

.gl-form-label {
    display: block;
    font-size: 13px;
    text-align: left;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.gl-input {
    width: 100%;
    padding: 14px 18px !important;
    font-size: 14px !important;
    color: #334155 !important;
    background-color: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
}

.gl-input::placeholder {
    color: #cbd5e1;
}

.gl-input:focus {
    background-color: #ffffff !important;
    border-color: #a5b4fc !important;
    box-shadow: 0 0 0 4px rgba(165, 180, 252, 0.25) !important;
}

select.gl-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 40px;
}

textarea.gl-input {
    min-height: 70px;
    max-height: 70px;
}

.gl-auth-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
}

.gl-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

/* Apply Tekstil theme container widths globally */
@media only screen and (min-width: 1680px) {
    .custom-container { max-width: 80%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
    .container { max-width: 80%; }
}

@media only screen and (min-width: 1400px) {
    .container { max-width: 85%; }
}

@media only screen and (min-width: 1200px) {
    .container { max-width: 90%; }
}

/* Ensure container centers with consistent paddings */
.container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; width: 100%; }

.gl-auth-link {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.gl-auth-link:hover {
    color: #6366f1;
}

.gl-btn-auth {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.gl-btn-primary {
    background: #8b5cf6;
    background-image: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.gl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.gl-btn-guest {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.gl-btn-guest:hover {
    background: #e2e8f0;
}

.gl-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.gl-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    border-top: 1px solid #e2e8f0;
}

.gl-divider span {
    position: relative;
    background: #fff;
    padding: 0 16px;
    color: #94a3b8;
    font-size: 13px;
}

.gl-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.gl-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.gl-pass-msg {
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.gl-pass-msg.error {
    color: #ef4444;
    display: block;
}

.gl-pass-msg.success {
    color: #10b981;
    display: block;
}

.gl-hidden {
    display: none !important;
}

/* Page Single Styles */
.gl-page-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    color: #334155;
    border: 1px solid #f1f5f9;
    margin: 30px 0 30px 0;
    text-align: left;
}

.gl-page-content p {
    line-height: 1.8;
    font-size: 17px;
    font-weight: 400;
}

.gl-page-content h1,
.gl-page-content h2,
.gl-page-content h3,
.gl-page-content h4,
.gl-page-content h5,
.gl-page-content h6 {
    color: #1e293b;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 700;
}

.gl-page-content p {
    margin-bottom: 1.5em;
}

.gl-page-content ul,
.gl-page-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.gl-sidebar {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin: 30px 0 40px 0;
}

.gl-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.01em;
}

.gl-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gl-sidebar ul li {
    padding: 0;
    margin: 0;
    text-align: left;
}

.gl-sidebar ul li a {
    display: block;
    padding: 12px 16px;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.gl-sidebar ul li a:hover {
    background: #fff;
    color: #6366f1;
    border-color: #6366f1;
    transform: translateX(4px);
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.05);
}

.gl-sidebar ul li.active a {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.25);
}

@media (max-width: 991px) {

    .gl-page-content,
    .gl-sidebar {
        margin-bottom: 30px;
    }
}

.gl-harita-maps {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    margin-top: 30px;
    border: 1px solid #f1f5f9;
}

.gl-harita-maps iframe {
    display: block;
    width: 100%;
}

.gl-contact-details,
.gl-contact-form-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.gl-contact-details-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gl-contact-details-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: #6366f1;
    border-radius: 2px;
}

.gl-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gl-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.gl-contact-list li:last-child {
    margin-bottom: 0;
}

.gl-contact-list .icon-box {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.gl-contact-list li:hover .icon-box {
    background: #6366f1;
    color: #ffffff;
    transform: rotateY(180deg);
}

.gl-contact-list .text-box {
    text-align: left;
    font-size: 15px;
    color: #475569;
}

.gl-contact-form-wrapper form .mb-3 {
    margin-bottom: 20px;
}

.gl-contact-form-wrapper textarea.gl-input {
    min-height: 100px;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.gl-customer-sidebar {
    margin: 0 0 40px 0;
}

.gl-customer-sidebar .nav-item {
    list-style: none;
    padding: 0;
    margin: 0 0 4px 0;
}

.gl-customer-sidebar .nav-link {
    display: block;
    padding: 12px 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    border: 1px solid #efecec;
    text-align: left;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gl-customer-sidebar .nav-link:hover {
    background: #6366f1;
    transform: translateY(-2px);
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.25);
}

.gl-customer-sidebar .nav-link .badge {
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin-left: 8px !important;
    margin-right: 0 !important;
}

.gl-customer-sidebar .nav-link:hover .badge {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #6366f1 !important;
}

.gl-customer-sidebar .nav-link i {
    margin-right: 8px;
    width: 16px;
}

@media (max-width: 991px) {
    .gl-contact-details {
        margin-bottom: 30px;
    }
}

.gl-profile-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.gl-profile-image-section {
    position: relative;
    width: 125px;
    height: 125px;
    margin: 0 auto 30px auto;
}

.gl-profile-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    position: relative;
}

.gl-profile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gl-profile-image-edit {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: #6366f1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    border: 2px solid #fff;
    z-index: 2;
}

.gl-profile-image-edit:hover {
    background: #4f46e5;
    transform: scale(1.1);
}

.gl-profile-image-edit i {
    font-size: 16px;
}

.gl-profile-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

.gl-profile-image-wrapper:hover .gl-profile-image-overlay {
    opacity: 1;
}

.gl-profile-image-overlay i {
    font-size: 24px;
}

.gl-form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gl-form-section-title i {
    color: #6366f1;
}

.gl-form-group {
    margin-bottom: 20px;
}

.gl-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.gl-pass-msg {
    font-size: 12px;
    margin-top: 5px;
}

.gl-pass-msg.error {
    color: #ef4444;
}

.gl-pass-msg.success {
    color: #22c55e;
}


/* Advanced Filter Sidebar Styles */
.gl-filter-sidebar {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    margin-bottom: 30px;
}

.gl-filter-header {
    background: #ffffff;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gl-filter-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gl-filter-title i {
    color: #6366f1;
    font-size: 20px;
}

.gl-filter-body {
    padding: 0;
}

.gl-filter-widget {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 24px;
}

.gl-filter-widget:last-child {
    border-bottom: none;
}

.gl-filter-widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Categories Accordion */
.gl-filter-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gl-filter-cat-item {
    margin-bottom: 4px;
}

.gl-filter-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.gl-filter-cat-link:hover {
    background: #f1f5f9;
    color: #334155;
}

.gl-filter-cat-link.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.gl-filter-cat-count {
    font-size: 12px;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    color: #94a3b8;
}

.gl-filter-cat-link.active .gl-filter-cat-count {
    background: #dbeafe;
    color: #2563eb;
}

/* Checkbox Style */
.gl-filter-checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.gl-filter-checkbox-item:last-child {
    margin-bottom: 0;
}

.gl-filter-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.gl-filter-checkbox:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

.gl-filter-label {
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

.gl-filter-count {
    font-size: 12px;
    color: #94a3b8;
}

/* Range Slider Customization */
.gl-filter-range-wrapper {
    padding: 10px 0;
}

.gl-filter-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.gl-filter-range-input {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #334155;
    text-align: center;
    font-weight: 600;
}

.gl-filter-range-sep {
    color: #94a3b8;
}

/* Button */
.gl-filter-btn {
    width: 100%;
    padding: 14px;
    background: #6366f1;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.25);
}

.gl-filter-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.gl-scroll-box {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar styling */
.gl-scroll-box::-webkit-scrollbar {
    width: 4px;
}

.gl-scroll-box::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.gl-scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.gl-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}