/* Contact Page Styles */
.contact-container {
    padding: 60px 0;
}

.premium-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.card-info-side {
    background: #111;
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-form-side {
    padding: 40px;
    background: #fff;
}

.form-control {
    border-radius: 8px;
    padding: 12px 18px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 20px;
    background: #fff;
    color: #333;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.1);
}

.btn-premium {
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: 0.3s ease;
    margin-top: 10px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-premium:hover {
    background: #e65c00;
    color: #fff;
}

.section-title {
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    position: relative;
    font-size: 24px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.info-item svg {
    margin-right: 15px;
    color: var(--primary-color);
}

.form-group-flex {
    display: flex;
    gap: 20px;
}

.form-group-flex .form-group {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.alert-danger {
    background: #f8dbdf;
    color: #a94442;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #f2c7ce;
}

.success-view {
    text-align: center;
    padding: 50px 0;
}

@media (max-width: 768px) {
    .form-group-flex {
        flex-direction: column;
        gap: 0;
    }

    .card-info-side,
    .card-form-side {
        padding: 25px;
        margin-top: 75px;
    }

    .contact-container {
        padding: 40px 0;
    }
}

/* Add Company Page Specific Overrides */
.addcompany-subtitle {
    color: #666;
    margin-bottom: 30px;
}

.label-hint {
    text-transform: none;
    color: #999;
    font-weight: normal;
}

.error-message-text {
    color: red;
    display: block;
    margin-top: -15px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Header & Sidebar overrides */
.bg-light-gray {
    background: #fafafa !important;
}

.bg-dark-header {
    background: #111319 !important;
}

.navbar.scrolled.bg-dark-header .logo,
.navbar.scrolled.bg-dark-header .nav-menu a {
    color: white !important;
}

.navbar.scrolled.bg-dark-header .nav-menu a:hover,
.navbar.scrolled.bg-dark-header .nav-menu a.active {
    color: var(--primary-color) !important;
}

.navbar.scrolled.bg-dark-header .mobile-menu-toggle span {
    background: white !important;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-add-btn {
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
}

.plus-icon-stroke {
    margin-right: 5px;
    stroke: white;
    stroke-width: 3;
}

/* Contact Page Specific Generics */
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

.min-w-300 {
    min-width: 300px;
}

.title-large {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.desc-text {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-text {
    font-size: 16px;
    font-weight: 500;
}

.mission-box {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.mission-title {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}

.mission-desc {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.form-side-margin {
    margin-top: 35px;
}

.success-icon {
    margin-bottom: 20px;
}

.success-title {
    display: inline-block;
}

.success-desc {
    font-size: 18px;
    color: #555;
    margin-top: 15px;
}

.btn-return {
    margin-top: 30px;
    text-decoration: none;
}

.cursor-pointer {
    cursor: pointer;
}

.w-100 {
    width: 100%;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Search Page Utilities */
.or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 0 5px;
}

.cursor-text {
    cursor: text;
}

.search-layout-custom {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
}

.search-sidebar-custom {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.search-city-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.sidebar-tags-custom {
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.tag-a {
    display: inline-block;
    background: #ff6900;
    color: #111;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 4px 6px 0;
    text-decoration: none;
}

.tag-b {
    display: inline-block;
    background: #222222;
    color: white;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 4px 6px 0;
    text-decoration: none;
}

.search-main-col {
    flex: 1;
    min-width: 0;
}

.search-res-top-custom {
    background: #fff8e1;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ffecb3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-res-title {
    font-size: 18px;
    color: #664d03;
    font-weight: 500;
    margin: 0;
}

.search-res-count {
    font-weight: 800;
    font-size: 20px;
    color: #856404;
}

.sort-wrap {
    font-size: 14px;
    color: #856404;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.m-0 {
    margin: 0;
}

.sort-select {
    border: none;
    outline: none;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
    color: #664d03;
}

.no-results-msg {
    grid-column: 1 / -1;
    font-size: 18px;
    color: #595959;
    text-align: center;
    padding: 60px 0;
}

.d-none {
    display: none !important;
}

/* Index Page Specific */
.or-divider-white {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    padding: 0 5px;
}

.inventory-section {
    background-color: var(--bg-light);
    padding-top: 50px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.listing-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-title {
    font-size: 36px;
    margin-bottom: 40px;
}

.featured-subtitle {
    display: block;
    font-size: 18px;
    color: #ccc;
    margin-top: 10px;
    font-weight: 500;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.file-upload-custom {
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
}

.addcompany-container {
    padding: 60px 0;
}

.addcompany-container .premium-card {
    padding: 40px;
    max-width: 900px;
    margin: 70px auto;
}

.addcompany-container .section-title {
    font-size: 28px;
}

.addcompany-container .section-title::after {
    width: 60px;
}

.form-control-file {
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.addcompany-container .btn-premium {
    width: 100%;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #c3e6cb;
}

.bootstrap-tagsinput {
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: none;
    margin-bottom: 20px;
}

.bootstrap-tagsinput .tag {
    margin-right: 5px;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 5px;
}

#map {
    height: 350px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #eaeaea;
    z-index: 1;
}

.two-cols {
    display: flex;
    gap: 20px;
}

.two-cols>div {
    flex: 1;
}

.time-group {
    margin-bottom: 15px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.time-group>div:first-child {
    font-weight: 600;
    margin-bottom: 10px;
}

.time-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-row span {
    font-size: 13px;
    color: #666;
}

.time-row .form-control {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .two-cols {
        flex-direction: column;
        gap: 0;
    }

    .time-row {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    .time-row span {
        text-align: center;
    }

    .addcompany-container .premium-card {
        padding: 25px;
        margin: 50px 15px;
    }
}

/* Listings/Search Overrides */
.search-main-content .random-listings-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1024px) {
    .search-layout {
        flex-direction: column !important;
    }

    .search-sidebar {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .search-main-content .random-listings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}