:root {
    --of-accent: var(--color-primary, #4f46e5);
    --of-accent-mid: #6366f1;
    --of-accent-light: #eef2ff;
    --of-text: var(--color-text, #1e293b);
    --of-text-muted: var(--color-text-light, #64748b);
    --of-bg: var(--color-bg-light, #f8fafc);
    --of-border: var(--color-border, #e2e8f0);
    --of-radius-xl: 32px;
    --of-radius-lg: 24px;
    --of-radius-md: 16px;
    --of-radius-sm: 12px;
    --of-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.owner-fields-page {
    background-color: var(--of-bg);
    min-height: 100vh;
    padding-top: 15px;
}

.owner-container-main {
    padding-top: 0.25rem;
    padding-bottom: 5rem;
}

.owner-profile-card {
    background: white;
    border-radius: var(--of-radius-xl);
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    margin-top: 0;
}

.back-nav {
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
}

.back-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.2rem;
    background: white;
    border: 1px solid var(--of-border);
    border-radius: 100px;
    color: var(--of-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-pill-link:hover {
    transform: translateX(-5px);
    background: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.owner-header-info-top {
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.1s;
}

.owner-header-info-top h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    color: var(--of-text);
    margin: 0;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.owner-hero-16-9 {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 1.5rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--of-radius-lg);
    background: #f1f5f9;
    border: 4px solid #f1f5f9;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    position: relative;
    animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

.owner-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-info-badges-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: -2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 5;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.5s;
}

.owner-badge {
    background: white;
    color: var(--of-accent);
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--of-border);
}

.owner-info-bar-modern {
    max-width: 650px;
    margin: 0 auto 2rem;
    background: #fcfdfe;
    border-radius: var(--of-radius-md);
    padding: 1rem 1.5rem;
    border: 1px solid #edf2f7;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.7s;
}

.info-alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--of-text-muted);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.info-alert-content i {
    color: var(--of-accent);
    font-size: 1.4rem;
}

.owner-guaranteed-services-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.guaranteed-services-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--of-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.owner-guaranteed-services {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.owner-content-internal {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.9s;
}

.fields-section-header {
    margin-bottom: 1.5rem;
}

.fields-grid-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--of-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: -0.5px;
}

.fields-grid-title i {
    color: var(--of-accent);
}

.owner-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.field-item-card {
    background: white;
    border-radius: var(--of-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

.field-item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.field-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.field-item-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.field-item-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--of-text);
    margin: 0;
    line-height: 1.2;
}

.field-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--of-radius-sm);
    border: 1px solid #f1f5f9;
}

.meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--of-text-muted);
}

.meta-row i {
    color: var(--of-accent);
    font-size: 1.1rem;
    margin-top: 1px;
}

.meta-row strong {
    color: var(--of-text);
    font-weight: 700;
}

.field-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem;
    background: var(--of-accent);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.field-item-btn:hover {
    background: #4338ca;
}

.course-item-btn {
    background: #10b981;
}

.course-item-btn:hover {
    background: #059669;
}

.entity-services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px dashed #e2e8f0;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.service-icon.active {
    background: #eef2ff;
    color: var(--of-accent);
}

.service-icon.course-active {
    background: #e3fcef;
    color: #10b981;
}

.service-icon.inactive {
    background: #f8fafc;
    color: #cbd5e1;
}

.no-fields-state {
    text-align: center;
    padding: 2.4rem 1.2rem;
    background: white;
    border-radius: 16px;
    margin: 1.5rem auto;
    max-width: 400px;
    border: 2px dashed #e5e7eb;
}

.no-fields-state .no-results-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-fields-state .no-results-icon svg,
.no-fields-state .no-results-icon i {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

.no-fields-state h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--of-text);
    margin-bottom: 0.4rem;
}

.no-fields-state p {
    color: var(--of-text-muted);
    font-size: 0.9rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.owner-profile-details {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--of-radius-md);
    border: 1px solid var(--of-border);
    animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.4s;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.owner-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--of-text);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--of-border);
}

.owner-location {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--of-border);
}

.owner-location>i {
    font-size: 1.8rem;
    color: var(--of-accent);
    padding: 0.8rem;
    background: var(--of-accent-light);
    border-radius: 50%;
}

.owner-location .location-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--of-text);
    line-height: 1.4;
}

.btn-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: white;
    border: 1px solid var(--of-border);
    border-radius: 8px;
    color: var(--of-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-map-link:hover {
    border-color: var(--of-accent);
    color: var(--of-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.owner-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-action-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: white;
}

.btn-action-pill i {
    font-size: 1.1rem;
}

.btn-phone {
    background-color: #10b981;
}

.btn-phone:hover {
    background-color: #059669;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #1ea952;
}

.btn-email {
    background-color: #0ea5e9;
}

.btn-email:hover {
    background-color: #0284c7;
}

.btn-maps {
    background-color: #6366f1;
}

.btn-maps:hover {
    background-color: #4f46e5;
}

.btn-facebook {
    background-color: #1877F2;
}

.btn-facebook:hover {
    background-color: #166fe5;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-instagram:hover {
    filter: brightness(1.1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .owner-profile-card {
        padding: 1.5rem;
        border-radius: var(--of-radius-lg);
    }

    .back-pill-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .back-pill-link i {
        font-size: 0.9rem;
    }

    .owner-header-info-top h1 {
        font-size: 1.8rem;
    }

    .owner-hero-16-9 {
        margin-bottom: 1.5rem;
        border-width: 4px;
    }

    .owner-info-bar-modern {
        margin-bottom: 2rem;
        padding: 1rem;
    }

    .info-alert-content {
        font-size: 0.9rem;
    }

    .owner-content-internal {
        padding-top: 2rem;
    }

    .owner-fields-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .owner-location {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .owner-action-buttons {
        gap: 1rem;
    }

    .owner-action-buttons .btn-action-pill,
    .btn-maps-long {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .owner-action-buttons .btn-action-pill span,
    .btn-maps-long span {
        display: none;
    }

    .owner-action-buttons .btn-action-pill i,
    .btn-maps-long i {
        margin: 0;
        font-size: 1.4rem;
    }

    .owner-location-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .maps-btn-container {
        width: auto;
        justify-content: flex-end;
        margin-right: -0.75rem;
    }
}

.owner-location-new {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.owner-location-new>i {
    font-size: 1.5rem;
    color: var(--of-accent);
    margin-top: 0.1rem;
}

.owner-location-new .location-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--of-text);
    line-height: 1.4;
}

.owner-location-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.maps-btn-container {
    display: flex;
    justify-content: flex-end;
    width: auto;
}

.btn-maps-long {
    width: fit-content;
    background: var(--of-accent);
    color: white;
}

.btn-maps-long:hover {
    background: var(--of-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.owner-description-new {
    margin-top: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid var(--of-border);
    border-bottom: 1px solid var(--of-border);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--of-text);
}

.owner-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}