/*!
Theme Name: fitness
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fitness
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

fitness is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    margin-top: 0 !important;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin: 0;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul {
    list-style: disc;

}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */
textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


.header-login a {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
}

.auth-container,
.profile-container,
.subscriptions-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1a1a1a;
    color: white;
    border-radius: 10px;
}

.profile-container form select,
.profile-container form input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.profile-container form input[type="submit"] {
    background-color: #f5c518;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.profile-container form input[type="submit"]:hover {
    background-color: #e0b015;
}


body {
    background-color: #1a1a1a;
    /* Тёмный фон */
    color: #e0e0e0;
    /* Светлый текст */

    min-height: 100vh;
}

/* Забезпечуємо, щоб html і body займали всю висоту */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Основний контейнер сторінки */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Мінімум 100% висоти viewport */
}

/* Контент займає весь доступний простір */
.site-content {
    flex: 1 0 auto;
    /* Розтягується, щоб заповнити простір */
}

/* Футер завжди внизу */
.site-footer {
    flex-shrink: 0;
    /* Не стискається */
}

.auth-page-wrapper {
    display: flex;
    min-height: 100vh;
    background: #1a1a1a;
    /* Темний фон */
}

/* Зображення зліва */
.auth-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.auth-image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Контейнер форми */
.auth-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Вкладки */
.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-button.active {
    color: #f1c40f;
    /* Жовтий колір для активної вкладки */
    border-bottom: 2px solid #f1c40f;
}

.tab-button:hover {
    color: #f1c40f;
}

/* Форма */
.custom-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-auth-form label {
    color: #fff;
    font-size: 1rem;
}

.custom-auth-form input[type="text"],
.custom-auth-form input[type="email"],
.custom-auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 25px;
    background: #333;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.custom-auth-form input:focus {
    outline: none;
    background: #444;
}

.custom-auth-form input[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background: #f1c40f;
    /* Жовта кнопка */
    border: none;
    border-radius: 25px;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-auth-form input[type="submit"]:hover {
    background: #e1b307;
}

/* Повідомлення */
.success {
    color: #28a745;
    background: #e6ffe6;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.errors {
    margin-left: 0;
    list-style: none;
    padding: 0.75rem;
    background: #ffe6e6;
    border-radius: 4px;
    margin-bottom: 1rem;
    color: #dc3545;
}

.forgot-password a,
.resend-link a {
    color: #f1c40f;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover,
.resend-link a:hover {
    text-decoration: underline;
}

/* Адаптивність */
@media (max-width: 768px) {
    .auth-page-wrapper {
        flex-direction: column;
    }

    .auth-image {
        display: none;
        /* Ховаємо зображення на малих екранах */
    }

    .auth-container {
        max-width: 100%;
        padding: 1rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .auth-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-button {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .custom-auth-form input[type="text"],
    .custom-auth-form input[type="email"],
    .custom-auth-form input[type="password"],
    .custom-auth-form input[type="submit"] {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

.code-input-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.code-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.code-input:focus {
    border-color: #007bff;
}

.code-input.valid {
    border-color: #28a745;
}

.code-input.invalid {
    border-color: #dc3545;
}

.code-verification-message {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.code-verification-message.valid {
    color: #28a745;
}

.code-verification-message.invalid {
    color: #dc3545;
}

.user-toolbar {
    background-color: #121212;
    color: #e0e0e0;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 2px solid #d4b83e;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Додано для коректного відображення частинок */
}

.toolbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    /* Для коректного накладання частинок */
    z-index: 2;
    /* Вміст поверх частинок */
}

#particles-js-header {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    /* Частинки під вмістом */
    background: transparent;
    /* Прозорий фон для частинок */
}

.toolbar-logo {
    flex-shrink: 0;
}

.logo-image {
    height: 100px;
    width: auto;
    display: block;
}

.toolbar-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    /* Вміст поверх частинок */
}

.user-greeting {
    font-size: 14px;
    font-weight: bold;
}

.subscription-status {
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
}

.toolbar-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.toolbar-link:hover {
    color: #d4b83e;
}

.logout-link {
    font-weight: bold;
}

.toolbar-tabs {
    display: flex;
    gap: 15px;
}

#wpadminbar {
    display: none;
}

.toolbar-tab-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    background-color: #3a3a3a;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toolbar-tab-link:hover {
    background-color: #d4b83e;
    color: #fff;
}

.site-header {
    margin-top: 60px;
}

@media (max-width: 768px) {
    .toolbar-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .toolbar-logo {
        order: -1;
    }

    .toolbar-content {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .toolbar-tabs {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        white-space: nowrap;
    }

    .toolbar-tab-link {
        font-size: 12px;
        padding: 5px 8px;
    }

    .logo-image {
        height: 30px;
    }

    .user-greeting,
    .subscription-status,
    .toolbar-link {
        font-size: 12px;
    }
}


/* Основной контейнер */
.payment-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background-color: #2a2a2a;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 20px;
}

.payment-container h2 {
    color: #e0e0e0;
    margin-bottom: 30px;
    font-size: 24px;
}

/* Форма */


/* Сообщения об ошибках и успехе */
.errors,
.success {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.errors {
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
}

.errors li {
    list-style: none;
}

.success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

/* Адаптивность */
@media (max-width: 480px) {
    .payment-container {
        padding: 20px;
        margin: 150px 10px 10px;
    }

    .payment-form input[type="email"],
    .payment-form select,
    .payment-form input[type="submit"] {
        font-size: 14px;
        padding: 10px;
    }
}

.welcome-content {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #121212;
}

/* Стилі для контейнера частинок */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    backdrop-blur: 22px;
}

.welcome-inner {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.welcome-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    z-index: 1;
}

.welcome-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 0 0 auto;
}

.welcome-text .main-title {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.welcome-text .sub-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: #d4b83e;
    margin-bottom: 1rem;
}

.welcome-text .description {
    font-size: 1.75rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1rem;
}

.welcome-text .author {
    font-size: 1.25rem;
    font-weight: 500;
    color: #d4b83e;
    margin-bottom: 2rem;
}

.welcome-actions .welcome-button {
    display: inline-block;
    background: #d4b83e;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.welcome-actions .welcome-button:hover {
    background: #e09b3d;
}

/* Адаптивність для секції привітання */
@media (min-width: 768px) {
    .welcome-inner {
        flex-direction: row;
        align-items: center;
        min-height: 600px;
    }

    .welcome-image {
        position: absolute;
        height: 100%;
        min-height: 600px;
    }

    .welcome-text {
        text-align: left;
        padding: 2rem;
    }

    .welcome-text .main-title {
        font-size: 2rem;
    }

    .welcome-text .sub-title {
        font-size: 2rem;
    }

    .welcome-text .description {
        font-size: 2.25rem;
    }

    .welcome-text .author {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .welcome-content {
        padding: 2rem 0;
        min-height: 400px;
    }

    .welcome-image {
        opacity: 0.3;
    }

    .welcome-text {
        padding: 1rem;
    }

    .welcome-text .main-title {
        font-size: 2.5rem;
    }

    .welcome-text .sub-title {
        font-size: 1rem;
    }

    .welcome-text .description {
        font-size: 1.25rem;
    }

    .welcome-text .author {
        font-size: 1rem;
    }

    .welcome-actions .welcome-button {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}


.exercise-item {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

.exercise-details {
    flex: 1;
    width: 100%;
}

.exercise-name {
    display: block;
    font-weight: bold;
    color: #f5e6b8;
}

.exercise-sets-reps {
    display: block;
    color: #d9c78a;
    font-size: 14px;
}

.exercise-video-link {
    display: block;
    color: #d4b83e;
    font-size: 14px;
    text-decoration: none;
}

.exercise-video-link:hover {
    color: #b89a33;
}


.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d4b83e;
    font-size: 40px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Стили для прев’ю */
.program-preview {
    margin-bottom: 20px;
}

.preview-image {
    position: relative;
    display: none;
}

.preview-image.active {
    display: block;
}

/* Стили для прев’ю (без відео) */
.preview-static {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.preview-static img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}


.youtube-iframe {
    width: 100%;
    height: 266px;
    /* Співвідношення 9:16 для Shorts */
    border-radius: 5px;
    border: none;
}

/* Стили для Plyr.js плеєра */
.exercise-video {
    position: relative;
}

.custom-player {
    width: 100%;
    height: 266px;
    /* Співвідношення 9:16 для Shorts */
    border-radius: 5px;
}

/* Кастомізація елементів Plyr */
.plyr__control--overlaid {
    background: #d4b83e !important;
}

.plyr--video {
    height: 100%;
}

.plyr--video .plyr__controls {
    background: rgba(0, 0, 0, 0.7) !important;
}

.plyr__control:hover {
    background: #b89a33 !important;
}

/* Адаптивність */
@media (max-width: 768px) {
    .exercise-video {
        width: 100%;
        max-width: 200px;
    }

    .custom-player {
        height: 355px;
        /* Зберігаємо співвідношення 9:16 */
    }

    .dashboard-layout {
        flex-direction: column;
    }
}

.preview-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.preview-link {
    position: relative;
    display: inline-block;
}

.preview-link .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d4b83e;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.preview-link .play-icon svg {
    width: 40px;
    height: 40px;
}

/* Адаптивність */
@media (max-width: 768px) {
    .preview-image img {
        max-width: 100%;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        height: auto;
    }

    .sidebar-tabs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        height: auto;
        padding: 10px;
    }

    .tab-content-area {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .sidebar-tab-button {
        flex: 1;
        padding: 10px;
        font-size: 14px;
        text-align: center;
    }

    .recipes-wrapper {
        flex-direction: column;
        height: auto;
    }

    .recipe-tabs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
    }

    .recipe-tab-button {
        flex: 1;
        padding: 10px;
        font-size: 14px;
        text-align: center;
    }

    .recipe-content-area {
        width: 100%;
        padding: 10px;
    }

    .program-section h4,
    .recipe-content h5 {
        font-size: 18px;
    }

    .program-section li,
    .recipe-content li {
        font-size: 14px;

    }

    .exercise-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .exercise-video {
        width: 100%;
        max-width: 200px;
    }
}


.profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #2a2a2a;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 20px;
}

.profile-container h2 {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 24px;
}

.profile-container p {
    font-size: 16px;
    margin: 10px 0;
}

.profile-container a {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.profile-container a:hover,
.profile-container a:focus {
    color: #e04343;
}

@media (max-width: 480px) {
    .profile-container {
        padding: 20px;
        margin: 150px 10px 10px;
    }

    .profile-container h2 {
        font-size: 20px;
    }

    .profile-container p {
        font-size: 14px;
    }
}

