a {
    color: inherit; 
    text-decoration: none; 
}

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: max(884px, 100dvh);
}

.sticky-top-stories {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1020;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}

.story-banner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    overflow: hidden;
}

.story-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-bar {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: bold;
}

.filter-button {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    width: 100%;
}

.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .075);
    background-color: #fff;
}

.card-img-top-placeholder {
    height: 150px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.card-price {
    font-size: 0.9rem;
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 0.25rem;
}

.card-location {
    font-size: 0.8rem;
    color: #6c757d;
}

.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, .05);
}

.footer-nav .nav-link {
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
}

.footer-nav .nav-link .material-icons {
    font-size: 1.5rem;
    margin-bottom: 0.125rem;
}

.footer-nav .nav-link.active {
    color: #0d6efd;
}

.create-button {
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(13, 110, 253, .5);
    margin-top: -15px;
}

.create-button .material-icons {
    font-size: 2rem;
}

.btn-filter-custom {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #495057;
}

.btn-filter-custom:hover,
.btn-filter-custom:focus {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.scrollable-stories {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollable-stories::-webkit-scrollbar {
    display: none;
}

/* Стили для премиум карточек */
.premium-card {
    border-width: 2px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.premium-badge {
    z-index: 10;
}

.premium-badge .badge {
    font-size: 0.8em;
}

/* Анимация для премиум карточек */
.premium-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease;
}

/* Стили для тарифных карточек в форме */
.pricing-card {
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-card:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pricing-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pricing-card.selected .card {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

/* Улучшенные стили для кнопок избранного */
.favorite-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.hidden {
    display: none !important;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background-color: #f8f9fa;
}