/*
 Theme Name:   My Listing Child
 Theme URI:    http://mylisting.27collective.net/my-city/
 Description:  MyListing Child Theme
 Author:       27collective
 Author URI:   https://27collective.net/
 Template:     my-listing
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  my-listing-child
*/

/* Global */

.element h3 {
	margin-top: -5px;
	margin-bottom: 15px;
}

/* Header */

#messages-modal-toggle  {
	color: #fff;
}

.header-search > input {
	font-size: 16px !important;
}

/* Hero - Główna */
.elementor-heading-title span {
	color: #fb6415;
}


.type-info img {
	filter: brightness(0) saturate(100%) invert(51%) sepia(95%) saturate(975%) hue-rotate(1deg) brightness(101%) contrast(101%) !important;
}


/* Explore */

.explore-head, .mlduo-account-menu {
	
}

.woocommerce-MyAccount-navigation ul li a {
	
}

.cts-next, .cts-prev {
	
;
}

.explore-head .explore-types .type-info > h4 {
	
}

/* Dashboard user */

#visits-chart-wrapper .ct-series-a .ct-area {
	fill: #61663d !important;
}

#visits-chart-wrapper .ct-series-a .ct-line, #visits-chart-wrapper .ct-series-a .ct-point {
	stroke: #61663d !important;
}

.chart-legend .lg-blue {
	background: #61663d !important;
}

#visits-chart-wrapper .ct-series-b .ct-area {
	fill: #dfab54 !important;
}

#visits-chart-wrapper .ct-series-b .ct-line, #visits-chart-wrapper .ct-series-b .ct-point {
	stroke: #dfab54 !important;
}

.chart-legend .lg-purple {
	background:  #dfab54 !important;
}


/* Usunięcie konta */


.delete-account-button {
	background-color: #dc3545;
	color: #fff;
	padding: 0.618em 1em;
	border: none;
	border-radius: 4px;
	font-weight: 500;
	transition: background-color 0.3s ease;
	cursor: pointer;
	display: block;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 50px;
}

.delete-account-button:hover {
	background-color: #c82333;
	color: #fff;
}


/* Sekcja bloga - home */

.single-blog-feed .sbf-title p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* CookieYes */
.cky-revisit-bottom-left {
	bottom: 30px !important;
}


/* Blog - single post */

.blog-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
		border-bottom: 5px solid #0250ce;
}


.single-post  h2 {
	margin-bottom: 30px;
}

.single-post .section-body h2::after {
    content: "";
    display: block;
    width: 5rem;
    height: 4px;
    background-color: #0250ce;
    margin-top: 10px;
    border-radius: 2px;
}





/* Submit button search - blog */
/* Ogólne opakowanie */
.search-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px 0;
}

/* Pole input */
.search-form input[type="search"] {
	padding: 8px 10px;
	font-size: 14px;
	color: #1a1b1e;
	border: none;
	border-bottom: 2px solid #ccc;
	background-color: transparent;
	transition: border-color 0.3s;
}

.search-form input[type="search"]:focus {
	outline: none;
	border-bottom-color: #fb6415;
}

/* Przycisk Szukaj */
.search-form input[type="submit"] {
	background-color: #fb6415;
	color: white;
	font-weight: 600;
	border: none;
	padding: 10px;
	cursor: pointer;
	transition: background-color 0.3s;
	font-size: 14px;
	border-radius: 3px;
  margin-top: 10px;
}

.search-form input[type="submit"]:hover {
	background-color: #e3550a;
}


/* Sidebar */

.otobron-sidebar {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	padding: 20px;
	margin-bottom: 30px;
}


/* Explore */

.gradient7 {
	background: linear-gradient(90deg, #8a2f00, #cc5200, #fb6415, #cc5200, #8a2f00);
}

/* Koszyk */
.woocommerce-cart-form__cart-item .product-thumbnail {
	display: none;
}


.sportivo-manage-btn {
	display: inline-block;
	font-size: 14px;
	padding: 8px 18px;
	margin-top: 10px;
	border: none;
	border-radius: 4px;
	color: #fff;
	background-color: #0073aa;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.3s ease;
	font-weight: 500;
}

.sportivo-manage-btn:hover {
	background-color: #005a8c;
	color: #fff;
}


/*  Członkostwo */

.sportivo-czlonkostwo {
  font-family: 'Outfit', sans-serif;
  padding: 40px 0;
}

.sportivo-czlonkostwo__info {
  padding: 20px;
  font-size: 18px;
  background: #e6ffe6;
  border-left: 4px solid #28a745;
}

.sportivo-czlonkostwo__gallery {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.sportivo-czlonkostwo__gallery img {
  max-width: 200px;
  border-radius: 12px;
}

.sportivo-form-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Outfit', sans-serif;
  padding: 60px 0;
}

.sportivo-form-text {
  flex: 1 1 50%;
  padding-right: 40px;
}

.sportivo-form-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.sportivo-form-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.sportivo-form-fields {
  flex: 1 1 50%;
}

.sportivo-form-fields form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sportivo-form-checkbox {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.sportivo-form-submit {
  background-color: #0073ff;
  color: white;
  padding: 14px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 10px;
  cursor: pointer;
}

.sportivo-success {
  display: none;
  font-family: 'Outfit', sans-serif;
}

.sportivo-success-box {
  background: #e6ffe6;
  border-left: 4px solid #28a745;
  padding: 24px;
  margin-top: 40px;
}

.sportivo-error-box {
  background: #ffe6e6;
  border-left: 4px solid #dc3545;
  padding: 24px;
  margin-top: 40px;
  font-family: 'Outfit', sans-serif;
}


.sportivo-payment-button {
  background-color: #0073ff;
  color: #fff;
  padding: 10px 24px;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
  border-radius: 4px;
}

.sportivo-payment-button:hover  {
  background-color: #1465c7;
  color: #fff;
}

/* --- DASHBOARD SPORTIVO --- */

/* === SPORTIVO DASHBOARD === */

.sportivo-dashboard {
	
}

.sportivo-heading {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
}

.sportivo-box {
	background: #fff;
	border-radius: 10px;
	padding: 25px 30px;
}

.sportivo-box.notice.success {
	background-color: #eaffea;
	border-left: 4px solid #3cbc3c;
}

.sportivo-box.notice.error {
	background-color: #fff3f3;
	border-left: 4px solid #d62c2c;
}

.sportivo-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-top: 40px;
}

.sportivo-half {
	flex: 1 1 50%;
	min-width: 320px;
}

.sportivo-row {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

.sportivo-row:last-child {
	border-bottom: none;
}

.sportivo-row .label {
	font-weight: 600;
	margin-bottom: 4px;
	color: #333;
}

.sportivo-row .value {
	color: #111;
}

.sportivo-empty {
	font-style: italic;
	line-height: 1.6;
}

.sportivo-link {
	color: #005ec2;
	font-weight: 600;
	text-decoration: none;
}

.sportivo-link:hover {
	text-decoration: underline;
}

.sportivo-orders {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.sportivo-orders li {
	margin-bottom: 15px;
	font-size: 15px;
}



/* SPORTIVO CZŁONKOSTWO REJESTRACJA */

#sportivo-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fff;
}

.form-section h3 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

#sportivo-form input:not([type="checkbox"]),
#sportivo-form select {
    display: block;
    width: 100%; /* ← DODAJ TO z powrotem */
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 4px;
    box-sizing: border-box;
}

#sportivo-form select option {
    font-weight: 400;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.3rem;
}

.sportivo-form-submit {
    display: block;
    width: 100%;
    background: #0066ff;
    color: white;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.form-section {
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    background: #fff;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0066ff;
  cursor: pointer;
}

.checkbox-row label {
  cursor: pointer;
}

.checkbox-row label a {
  color: #0066ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#sportivo-form select {
    background-color: #fff;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2710%27%20height%3D%275%27%3E%3Cpath%20fill%3D%27%23000000%27%20d%3D%27M0%200l5%205%205-5z%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 5px;
    padding-right: 2rem;
}

/* Floating label fields */
        .form-field-floating {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .form-field-floating input,
        .form-field-floating select {
            width: 100%;
            padding: 1.6rem 0.8rem 0.6rem;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 1rem;
            background: #fff;
            line-height: 1.6;
            transition: border-color 0.3s ease;
            color: #333;
        }

        .form-field-floating input:focus,
        .form-field-floating select:focus {
            outline: none;
            border-color: #0066ff;
            box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
        }

        .form-field-floating label {
            position: absolute;
            left: 0.8rem;
            top: 1.3rem;
            color: #777;
            font-size: 0.95rem;
            pointer-events: none;
            transition: all 0.2s ease;
            background: #fff;
            padding: 0 0.2rem;
            line-height: 1;
            z-index: 1;
        }

        /* Active state for labels */
        .form-field-floating input:focus + label,
        .form-field-floating input:valid + label,
        .form-field-floating input:not(:placeholder-shown) + label,
        .form-field-floating select:focus + label,
        .form-field-floating select:valid + label,
        .form-field-floating select:not([value=""]) + label {
            top: 0.4rem;
            left: 0.6rem;
            font-size: 0.75rem;
            color: #0066ff;
        }

        /* Select styling */
        .form-field-floating select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2710%27%20height%3D%275%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200l5%205%205-5z%27/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 10px 5px;
            padding-right: 2rem;
            cursor: pointer;
        }

        .form-field-floating select:focus {
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2710%27%20height%3D%275%27%3E%3Cpath%20fill%3D%27%230066ff%27%20d%3D%27M0%200l5%205%205-5z%27/%3E%3C/svg%3E");
        }

        .form-field-floating select option {
            font-weight: 400;
            color: #333;
        }

      

        .checkbox-label {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            font-size: 0.95rem;
            line-height: 1.5;
            cursor: pointer;
        }

        .checkbox-label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #0066ff;
            cursor: pointer;
            margin-top: 0.1rem;
        }

        .checkbox-label a {
            color: #0066ff;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .checkbox-label a:hover {
            text-decoration-thickness: 2px;
        }

        /* Submit button */
        .sportivo-form-submit {
            display: block;
            width: 100%;
            background: #0066ff;
            color: white;
            padding: 1rem;
            font-size: 1rem;
            font-weight: 600;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.1s ease;
        }

        .sportivo-form-submit:hover {
            background: #0052cc;
        }

        .sportivo-form-submit:active {
            transform: translateY(1px);
        }

        /* Animation for better UX */
        .form-field-floating {
            animation: slideInUp 0.3s ease forwards;
        }

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

        /* Error states (for future use) */
        .form-field-floating input:invalid:not(:placeholder-shown) {
            border-color: #e74c3c;
        }

        .form-field-floating input:invalid:not(:placeholder-shown) + label {
            color: #e74c3c;
        }


        

/* Dashboard */
.sportivo-tabs { margin-top: 30px; }
.sportivo-tab-headers { display: flex; gap: 12px; margin-bottom: 18px; }
.sportivo-tab-btn { background: #f3f3f3; border: none; padding: 10px 22px; border-radius: 6px 6px 0 0; font-size: 1.1em; cursor: pointer; }
.sportivo-tab-btn.active { background: #fff; border-bottom: 2px solid #0250ce; font-weight: bold; }
.sportivo-tab-content { display: none; }
.sportivo-tab-content.active { display: block; }
.sportivo-table-responsive { width: 100%; overflow-x: auto; }
.sportivo-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.sportivo-table th, .sportivo-table td { border: 1px solid #e5e7eb; padding: 8px 12px; }
.sportivo-table th { background: #f9f9f9; }
@media (max-width: 700px) {
  .sportivo-table-responsive { overflow-x: auto; }
  .sportivo-table { font-size: 0.97em; min-width: 500px; }
  .sportivo-table th, .sportivo-table td { padding: 6px 6px; }
}
@media (max-width: 600px) {
    .medicover-konfigurator form {
        flex-direction: column;
        gap: 8px;
    }
    .medicover-konfigurator select,
    .medicover-konfigurator button {
        width: 100%;
    }
}


.sportivo-cta-button {
    display: inline-block;
    padding: 10px 14px;
    background-color: #0250ce;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sportivo-cta-button-login {
    display: inline-block;
    padding: 10px 14px;
    background-color: #2e7eff;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sportivo-cta-button:hover, .sportivo-cta-button-login:hover {
    background-color: #c6f209;
    color: black;
}
