@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand-blue: #0C81EC;
    --brand-purple: #7613C3;
    --brand-violet: #5A6FD7;
    --brand-gradient: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-purple) 100%);
    --brand-gradient-soft: linear-gradient(135deg, rgba(12, 129, 236, 0.08), rgba(118, 19, 195, 0.08));
    --primary-beige: #FFFFFF;
    --primary-green: var(--brand-blue);
    --primary-blue: var(--brand-purple);
    --secondary-blue: #E7ECFF;
    --accent-orange: #B18CFF;
    --accent-color: var(--brand-blue);
    --secondary-color: var(--brand-violet);
    --text-dark: #0F172A;
    --text-primary: #0F172A;
    --text-secondary: #0F172A;
    --text-light: #475569;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --background-light: rgba(255, 255, 255, 0.6);
    --border-light: #E2E8F0;
    --shadow: rgba(15, 23, 42, 0.08);
    --filter-panel: linear-gradient(135deg, #F8FAFF 0%, #F2F4FB 100%);
    --select-arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%25230F172A%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%209l6%206%206-6%27%2F%3E%3C%2Fsvg%3E");
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 5px;
    --radius-xl: 5px;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --menu-radius: 10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 50%, #F5F5F5 100%);
}
.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    color: var(--white);
}
.nav-logo span {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}
.header-nav .nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    padding: 0.35rem 1.35rem;
    border-radius: var(--menu-radius);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    background: transparent;
}
.header-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.header-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.24);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
}
.header-nav .nav-link:focus {
    outline-offset: 1px;
}
.nav-logo-link {
    display: flex;
    align-items: center;
    margin-left: 15px;
    transition: opacity 0.3s ease;
}
.nav-logo-link:hover {
    opacity: 0.8;
}
.nav-logo-img {
    width: 40px;
    height: auto;
    display: block;
}
.nav-search {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.nav-search #logout-btn,
.nav-search #logout-btn.btn-small,
.nav-search button.btn-secondary.btn-small {
    text-decoration: none;
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.35rem 1.35rem !important;
    border-radius: var(--menu-radius);
    transition: all 0.3s ease;
    position: relative;
    border: none !important;
    background: transparent !important;
    margin-left: 0 !important;
    font-size: inherit;
    cursor: pointer;
    min-width: auto;
}
.nav-search #logout-btn:hover,
.nav-search #logout-btn.btn-small:hover,
.nav-search button.btn-secondary.btn-small:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.search-input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--menu-radius);
    outline: none;
    transition: all 0.3s ease;
    min-width: 240px;
    font-size: var(--font-size-base);
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}
.search-input:focus {
    border-color: var(--white);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(12, 129, 236, 0.15);
    color: var(--text-dark);
}
.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}
.section {
    margin-bottom: 4rem;
    position: relative;
}
.section.faculty-requests {
    margin-top: var(--spacing-xl);
}
.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
    position: relative;
    padding-bottom: var(--spacing-sm);
}
.section-title::after {
    display: none;
}
.filter-controls {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    background: var(--filter-panel);
    padding: calc(var(--spacing-md) + 0.5rem);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 45px rgba(12, 17, 43, 0.08);
    border: 1px solid rgba(12, 129, 236, 0.08);
    backdrop-filter: blur(12px);
}
.filter-select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0.65rem 2.75rem 0.65rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: var(--radius-lg);
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
    min-width: 160px;
    appearance: none;
    -webkit-appearance: none;
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.filter-select:hover {
    border-color: rgba(12, 129, 236, 0.5);
    box-shadow: 0 10px 22px rgba(12, 129, 236, 0.12);
}
.filter-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(12, 129, 236, 0.12);
}
.filter-select option {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.requests-grid,
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.events-grid,
.past-events-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-lg);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: var(--spacing-sm);
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.events-grid .event-card,
.past-events-grid .event-card {
    flex: 0 0 320px;
    min-width: 320px;
    scroll-snap-align: start;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}
.event-card,
.request-card,
.offer-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    max-height: 600px;
    overflow: hidden;
}
.event-card:hover,
.request-card:hover,
.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.event-card {
    position: relative;
    background: white;
    color: #000000;
}
.event-card:hover {
    border-color: var(--border-light);
}
.event-card .card-title {
    color: #000000;
    font-weight: 600;
}
.event-card .card-subtitle {
    color: #000000;
}
.event-card .card-description {
    color: #000000;
}
.event-card .card-meta {
    color: #000000;
}
.event-description-block {
    background: rgba(226, 232, 240, 0.3);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.event-card.pending,
.event-card.approved,
.event-card.rejected,
.event-card.active,
.event-card.completed,
.event-card.Р°РєС‚РёРІРЅРѕРµ,
.event-card.Р·Р°РІРµСЂС€РµРЅРѕ {
    background: white;
}
.request-card {
    border-left: 4px solid #0C81EC;
}
.offer-card {
    border-left: 4px solid #0C81EC;
}
.card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}
.card-description {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-height: calc(1.5em * 3);
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}
.collaboration-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    height: 100%;
    min-height: 100%;
}
.request-card.collaboration-card,
.offer-card.collaboration-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
}
.collaboration-card .card-title {
    flex-shrink: 0;
    margin-bottom: var(--spacing-xs);
}
.collaboration-card .card-description {
    flex-shrink: 1;
    flex-grow: 1;
    margin-bottom: var(--spacing-xs);
    min-height: 0;
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    white-space: normal;
}
.collaboration-card .card-tags {
    flex-shrink: 0;
    margin-bottom: var(--spacing-xs);
}
.collaboration-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* min-height: calc(1.4em * 2); */
    height: calc(1.4em * 2);
}
.collaboration-meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
}
.collaboration-card .card-actions {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
}
.collaboration-card .desired-dates {
    margin-top: auto;
    margin-bottom: 0;
    height: auto;
    min-height: 0;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    flex-shrink: 0;
    width: 100%;
}
.collaboration-card .card-actions {
    margin-top: var(--spacing-xs);
    flex-shrink: 0;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-light);
}
.card-tag {
    background-color: rgba(90, 111, 215, 0.15);
    color: #5A6FD7;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(90, 111, 215, 0.3);
}
/*
.card-tag[data-topic="Р¤РёРЅР°РЅСЃС‹ Рё Р±Р°РЅРєРѕРІСЃРєРѕРµ РґРµР»Рѕ"],
.card-tag[data-topic="Р¤РёРЅР°РЅСЃС‹"] {
    background-color: rgba(12, 129, 236, 0.15);
    color: #0C81EC;
    border-color: rgba(12, 129, 236, 0.3);
}
.card-tag[data-topic="РњРµР¶РґСѓРЅР°СЂРѕРґРЅР°СЏ СЌРєРѕРЅРѕРјРёРєР°"] {
    background-color: rgba(90, 111, 215, 0.15);
    color: #5A6FD7;
    border-color: rgba(90, 111, 215, 0.3);
}
.card-tag[data-topic="Р­РєРѕРЅРѕРјРёРєР° С„РёСЂРјС‹"],
.card-tag[data-topic="РљРѕСЂРїРѕСЂР°С‚РёРІРЅР°СЏ СЌРєРѕРЅРѕРјРёРєР°"] {
    background-color: rgba(118, 19, 195, 0.15);
    color: #7613C3;
    border-color: rgba(118, 19, 195, 0.3);
}
.card-tag[data-topic="Р“РѕСЃСѓРґР°СЂСЃС‚РІРµРЅРЅРѕРµ СѓРїСЂР°РІР»РµРЅРёРµ"] {
    background-color: rgba(74, 158, 255, 0.15);
    color: #4A9EFF;
    border-color: rgba(74, 158, 255, 0.3);
}
.card-tag[data-topic="РђРЅР°Р»РёР· РґР°РЅРЅС‹С…"] {
    background-color: rgba(123, 143, 232, 0.15);
    color: #7B8FE8;
    border-color: rgba(123, 143, 232, 0.3);
}
.card-tag[data-topic="РњР°СЂРєРµС‚РёРЅРі"] {
    background-color: rgba(155, 77, 217, 0.15);
    color: #9B4DD9;
    border-color: rgba(155, 77, 217, 0.3);
}
.card-tag[data-topic="HR Рё СѓРїСЂР°РІР»РµРЅРёРµ РїРµСЂСЃРѕРЅР°Р»РѕРј"],
.card-tag[data-topic="HR"] {
    background-color: rgba(90, 111, 215, 0.2);
    color: #5A6FD7;
    border-color: rgba(90, 111, 215, 0.4);
}
.card-tag[data-topic="IT Рё С†РёС„СЂРѕРІР°СЏ СЌРєРѕРЅРѕРјРёРєР°"],
.card-tag[data-topic="IT"] {
    background-color: rgba(12, 129, 236, 0.2);
    color: #0C81EC;
    border-color: rgba(12, 129, 236, 0.4);
}
 */
.resource-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}
.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
}
.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.resource-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(12, 129, 236, 0.08);
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.resource-icon svg {
    width: 36px;
    height: 36px;
}
.resource-icon--catalog {
    background: rgba(118, 19, 195, 0.08);
}
.resource-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
.notification-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 2px 4px var(--shadow);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: background-color 0.2s ease;
}
.notification-item:hover {
    background-color: var(--secondary-blue);
}
.notification-icon {
    font-size: var(--font-size-xl);
    color: var(--primary-blue);
}
.notification-content h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-dark);
}
.notification-content p {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    .header-nav {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    .nav-menu {
        gap: var(--spacing-sm);
    }
    .main-content {
        padding: var(--spacing-sm);
    }
    .section-title {
        font-size: var(--font-size-xl);
    }
    .events-grid,
    .requests-grid,
    .offers-grid,
    .past-events-grid {
        grid-template-columns: 1fr;
    }
    .resources-grid {
        grid-template-columns: 1fr;
    }
    .filter-controls {
        flex-direction: column;
    }
    .filter-select {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-search {
        width: 100%;
        justify-content: space-between;
    }
    .search-input {
        flex: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.nav-link:focus,
.filter-select:focus,
.search-input:focus,
.event-card:focus,
.request-card:focus,
.offer-card:focus,
.resource-card:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    min-height: calc(1.4em * 2);
    height: calc(1.4em * 2);
}
.department-name,
.company-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-green);
    background-color: var(--primary-beige);
    /* padding: 2px var(--spacing-xs);
    border-radius: var(--radius-sm);
    height: calc(1.4em * 2); */
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}
.card-tags {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}
.card-tag-topic {
    background-color: rgba(90, 111, 215, 0.15);
    color: #5A6FD7;
    font-weight: 600;
    border: 1px solid rgba(90, 111, 215, 0.3);
}
.format-tag {
    background-color: rgba(90, 111, 215, 0.15);
    color: #5A6FD7;
    padding: 2px var(--spacing-xs);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(90, 111, 215, 0.3);
}
.card-tag-status {
    font-weight: 600;
    border: none;
    color: var(--white);
    padding: 2px 4px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
/*
.request-card .card-tag-status,
.offer-card .card-tag-status,
.collaboration-card .card-tag-status {
    display: none !important;
}
.request-card .card-header .card-tag-status,
.offer-card .card-header .card-tag-status,
.collaboration-card .card-header .card-tag-status {
    display: none !important;
}
 */
.keywords,
.desired-dates {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
    margin-top: auto;
    height: calc(1.4em * 2);
    min-height: calc(1.4em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.keywords strong,
.desired-dates strong {
    color: var(--text-dark);
}
.card-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}
.views-count,
.responses-count {
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}
.dates-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}
.created-date,
.valid-until,
.request-date,
.responses-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-New:before {
    content: unset;
    border-bottom: unset;
}
.status-New {
    background-color: rgba(167, 216, 235, 0.4);
    color: #4A90A4;
    border: 1px solid rgba(167, 216, 235, 0.7);
}
.status-Active {
    background-color: rgba(167, 236, 200, 0.4);
    color: #4A9B6B;
    border: 1px solid rgba(167, 236, 200, 0.7);
}
.status-Pending {
    background-color: rgba(255, 200, 150, 0.5);
    color: #C87A3A;
    border: 1px solid rgba(255, 200, 150, 0.8);
}
.status-inProgress {
    background-color: rgba(216, 191, 235, 0.4);
    color: #9B7FAD;
    border: 1px solid rgba(216, 191, 235, 0.7);
}
.status-Completed {
    background-color: rgba(190, 195, 205, 0.4);
    color: #6B7380;
    border: 1px solid rgba(190, 195, 205, 0.7);
}
.status-Rejected {
    background-color: rgba(248, 180, 180, 0.4);
    color: #C25555;
    border-color: rgba(248, 180, 180, 0.7);
}


.apply-button,
.respond-button {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid #D0D5DD;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.apply-button:hover,
.respond-button:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(12, 129, 236, 0.12);
    transform: translateY(-1px);
}
.apply-button:focus,
.respond-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 129, 236, 0.25);
}
.card-actions .apply-button,
.card-actions .respond-button {
    width: 100%;
}
.notification-unread {
    position: relative;
    background-color: var(--secondary-blue);
}
.notification-read {
    opacity: 0.8;
}
.notification-indicator {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}
.notification-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}
.error-message {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid #FEE2E2;
    color: #DC2626;
}
.retry-button {
    background: rgba(167, 216, 235, 0.9);
    color: var(--text-dark);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-xl);
    margin-top: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(12, 129, 236, 0.3);
}
.retry-button:hover {
    background: rgba(167, 216, 235, 1);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 216, 235, 0.4);
}
.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: var(--spacing-lg);
    font-style: italic;
}
.loading {
    opacity: 0.6;
    pointer-events: none;
}
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
.header {
    background: var(--brand-gradient);
    color: var(--white);
    backdrop-filter: blur(16px);
    border-bottom: none;
    box-shadow: 0 8px 30px rgba(12, 17, 43, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    color: var(--white);
}
.logo h1 {
    font-size: 24px;
    color: var(--white);
    margin: 0;
    font-weight: 700;
}
.logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 4px 0 0 0;
    font-weight: 500;
}
.nav {
    display: flex;
    gap: 8px;
    align-items: center;
}
.nav-link {
    padding: 12px 20px;
    border-radius: var(--menu-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    text-decoration: none;
    color: var(--white);
}
.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(12, 17, 43, 0.2);
}
.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(12, 17, 43, 0.25);
}
.nav-link.active:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(12, 17, 43, 0.3);
    color: var(--white);
}
.nav-search {
    gap: 16px;
    align-items: center;
}
.nav-search .search-input {
    padding: 8px 16px;
    min-width: 200px;
    border-radius: var(--menu-radius);
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--white);
    backdrop-filter: blur(10px);
}
.nav-search .search-input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 0 4px rgba(12, 129, 236, 0.15);
    min-width: 250px;
    color: var(--text-dark);
}
.nav-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}
.user-avatar {
    width: 40px;
    height: 40px;
}
.filter-select:hover {
    border-color: var(--accent-color);
    background: white;
}
.keywords-section {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.keyword-tag {
    background: var(--background-light);
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    /*
    color: var(--text-secondary);
    white-space: nowrap;
     */
}
.card-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.company-form-section,
.faculty-form-section {
    /*margin: 0 auto 60px;
    max-width: 900px;*/
    background: var(--white);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 129, 236, 0.2);
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--background-light);
}
.section-header h2 {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}
.company-form,
.faculty-form {
    max-width: 100%;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 24px;
}
.form-row .form-group {
    margin-bottom: 0;
}
.form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid transparent;
    background: rgba(226, 232, 240, 0.5);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.form-group input[type="file"] {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
}
.form-group input[type="file"]:hover {
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.95);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(107, 127, 215, 0.1);
    transform: translateY(-1px);
}
.form-group input[type="file"]:focus {
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(107, 127, 215, 0.1);
}
.form-group select[multiple] {
    height: 120px;     min-height: 80px;     max-height: 200px;     padding: 10px;     overflow-y: auto;     background-color: rgba(226, 232, 240, 0.5);     border: 2px solid transparent;     border-radius: 12px;     font-size: 15px;     font-weight: 500;     color: var(--text-dark);         resize: vertical; }
.form-group select[multiple]::-webkit-scrollbar {
    width: 8px; }
.form-group select[multiple]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);     border-radius: 4px;
}
.form-group select[multiple]::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);     border-radius: 4px;
}
.form-group select[multiple]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3); }
.form-group select[multiple] option {
    padding: 8px;
    margin-bottom: 4px;
    border-radius: 6px;
}
.form-group small {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 6px;
    font-style: italic;
}
.field-error {
    border-color: #EF4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}
.field-success {
    border-color: var(--brand-blue) !important;
    background: rgba(12, 129, 236, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(12, 129, 236, 0.15) !important;
}
.field-error-message {
    color: #EF4444;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    padding: 4px 8px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    border-left: 3px solid #EF4444;
}
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--background-light);
}
.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    min-width: 140px;
}
.btn-primary {
    background: rgba(167, 216, 235, 0.9);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(167, 216, 235, 0.3);
}
.btn-primary:hover {
    background: rgba(167, 216, 235, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 216, 235, 0.4);
    color: var(--text-dark);
}
.btn-secondary {
    background: rgba(226, 232, 240, 0.8);
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(12, 129, 236, 0.3);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
    color: var(--text-primary);
}
.form-message {
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-message-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: #059669;
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}
.form-message-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: #DC2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.1);
}
.form-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}
.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    z-index: 1;
}
.company-offers-section,
.faculty-requests-section {
    margin: 0 auto 60px;
    max-width: 1200px;
}
.requests-table-container,
.offers-table-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: 20px;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 129, 236, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    display: flex;
    flex-direction: column;
}
.filter-controls {
    padding: 24px;
    background: rgba(226, 232, 240, 0.5);
    border-bottom: 2px solid var(--background-light);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.search-container {
    flex: 1;
    min-width: 250px;
}
.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}
.search-input:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(107, 127, 215, 0.1);
}
.filters-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-select {
    padding: 10px 16px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}
.filter-select:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(107, 127, 215, 0.1);
}
.requests-table,
.offers-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}
.requests-table th,
.offers-table th {
    background: linear-gradient(135deg, rgba(12, 129, 236, 0.1), rgba(12, 129, 236, 0.05));
    font-weight: 700;
    color: var(--text-dark);
    font-size: 13px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 2;
    min-width: 100px;
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(12, 129, 236, 0.1);
}
.requests-table td,
.offers-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(12, 129, 236, 0.1);
}
.table-row-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.table-row-clickable:hover {
    border-left: 3px solid var(--primary-blue);
    background: rgba(226, 232, 240, 0.3);
    transition: all 0.2s ease;
}
/*
.company-cell,
.department-cell {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
}


.request-cell,
.offer-cell {
    max-width: 280px;
}
.request-title,
.offer-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.3;
}

 */
.request-description,
.offer-description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    opacity: 0.9;
}
.topic-tag {
    background-color: rgba(90, 111, 215, 0.15);
    color: #5A6FD7;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 500;
    /* white-space: nowrap; */
    text-transform: uppercase;
    border: 1px solid rgba(90, 111, 215, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
/*
.topic-tag[data-topic="Р¤РёРЅР°РЅСЃС‹ Рё Р±Р°РЅРєРѕРІСЃРєРѕРµ РґРµР»Рѕ"],
.topic-tag[data-topic="Р¤РёРЅР°РЅСЃС‹"] {
    background-color: rgba(12, 129, 236, 0.15);
    color: #0C81EC;
    border-color: rgba(12, 129, 236, 0.3);
}
.topic-tag[data-topic="РњРµР¶РґСѓРЅР°СЂРѕРґРЅР°СЏ СЌРєРѕРЅРѕРјРёРєР°"] {
    background-color: rgba(90, 111, 215, 0.15);
    color: #5A6FD7;
    border-color: rgba(90, 111, 215, 0.3);
}
.topic-tag[data-topic="Р­РєРѕРЅРѕРјРёРєР° С„РёСЂРјС‹"],
.topic-tag[data-topic="РљРѕСЂРїРѕСЂР°С‚РёРІРЅР°СЏ СЌРєРѕРЅРѕРјРёРєР°"] {
    background-color: rgba(118, 19, 195, 0.15);
    color: #7613C3;
    border-color: rgba(118, 19, 195, 0.3);
}
.topic-tag[data-topic="Р“РѕСЃСѓРґР°СЂСЃС‚РІРµРЅРЅРѕРµ СѓРїСЂР°РІР»РµРЅРёРµ"] {
    background-color: rgba(74, 158, 255, 0.15);
    color: #4A9EFF;
    border-color: rgba(74, 158, 255, 0.3);
}
.topic-tag[data-topic="РђРЅР°Р»РёР· РґР°РЅРЅС‹С…"] {
    background-color: rgba(123, 143, 232, 0.15);
    color: #7B8FE8;
    border-color: rgba(123, 143, 232, 0.3);
}
.topic-tag[data-topic="РњР°СЂРєРµС‚РёРЅРі"] {
    background-color: rgba(155, 77, 217, 0.15);
    color: #9B4DD9;
    border-color: rgba(155, 77, 217, 0.3);
}
.topic-tag[data-topic="HR Рё СѓРїСЂР°РІР»РµРЅРёРµ РїРµСЂСЃРѕРЅР°Р»РѕРј"],
.topic-tag[data-topic="HR"] {
    background-color: rgba(90, 111, 215, 0.2);
    color: #5A6FD7;
    border-color: rgba(90, 111, 215, 0.4);
}
.topic-tag[data-topic="IT Рё С†РёС„СЂРѕРІР°СЏ СЌРєРѕРЅРѕРјРёРєР°"],
.topic-tag[data-topic="IT"] {
    background-color: rgba(12, 129, 236, 0.2);
    color: #0C81EC;
    border-color: rgba(12, 129, 236, 0.4);
}
*/
.topic-tag:not([data-topic]) {
    background-color: rgba(90, 111, 215, 0.15);
    color: #5A6FD7;
    border-color: rgba(90, 111, 215, 0.3);
}
.formats-cell {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 150px;
}
.details-cell {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 300px;
    padding: 20px 16px !important;
}
.details-cell .request-description,
.details-cell .offer-description {
    max-height: 60px;
    overflow-y: auto;
    padding-right: 8px;
}
/*
.requests-table th:nth-child(1),
.offers-table th:nth-child(1) { width: 200px; }
.requests-table th:nth-child(2),
.offers-table th:nth-child(2) { width: 220px; }
.requests-table th:nth-child(3),
.offers-table th:nth-child(3) { width: 180px; }
.requests-table th:nth-child(4),
.offers-table th:nth-child(4) { width: 200px; }
.requests-table th:nth-child(5),
.offers-table th:nth-child(5) { width: 300px; }
.requests-table th:nth-child(6),
.offers-table th:nth-child(6) { width: 120px; }
.requests-table th:nth-child(7),
.offers-table th:nth-child(7) { width: 140px; }
.requests-table td,
.offers-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
 */
.department-cell,
.company-cell,
.request-cell,
.offer-cell,
.formats-cell {
    white-space: normal !important;
    word-wrap: break-word;
    overflow: visible;
    text-overflow: initial;
    line-height: 1.4;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.topic-cell,
.actions-cell {
    /*white-space: nowrap !important;*/
    overflow: visible;
    text-overflow: initial;
}
/*
.requests-table th:nth-child(3),
.requests-table td:nth-child(3) {
    width: 20%;
    max-width: 20%;
    min-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 */
.details-cell {
    white-space: normal;
}
.details-cell .request-description,
.details-cell .offer-description {
    white-space: normal;
    word-wrap: break-word;
}
.requests-table-container::-webkit-scrollbar,
.offers-table-container::-webkit-scrollbar,
.details-cell .request-description::-webkit-scrollbar,
.details-cell .offer-description::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.requests-table-container::-webkit-scrollbar-track,
.offers-table-container::-webkit-scrollbar-track,
.details-cell .request-description::-webkit-scrollbar-track,
.details-cell .offer-description::-webkit-scrollbar-track {
    background: rgba(200, 210, 230, 0.2);
    border-radius: 5px;
}
.requests-table-container::-webkit-scrollbar-thumb,
.offers-table-container::-webkit-scrollbar-thumb,
.details-cell .request-description::-webkit-scrollbar-thumb,
.details-cell .offer-description::-webkit-scrollbar-thumb {
    background: rgba(167, 216, 235, 0.5);
    border-radius: 5px;
    border: 1px solid rgba(167, 216, 235, 0.3);
    transition: background 0.3s ease;
}
.requests-table-container::-webkit-scrollbar-thumb:hover,
.offers-table-container::-webkit-scrollbar-thumb:hover,
.details-cell .request-description::-webkit-scrollbar-thumb:hover,
.details-cell .offer-description::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 216, 235, 0.7);
}
.date-cell {
    font-size: 13px;
    color: var(--text-muted);
    /*white-space: nowrap;
    font-weight: 500;*/
}
.responses-cell,
.views-cell {
    text-align: center;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 15px;
}
.actions-cell {
    text-align: center;
}
.respond-to-request-btn,
.respond-to-offer-btn {
    background: linear-gradient(135deg, rgba(167, 216, 235, 0.7), rgba(186, 196, 232, 0.7));
    color: #2A5A74;
    border: 2px solid rgba(167, 216, 235, 0.9);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(167, 216, 235, 0.4);
}
.respond-to-request-btn:hover,
.respond-to-offer-btn:hover {
    background: linear-gradient(135deg, rgba(167, 216, 235, 0.9), rgba(186, 196, 232, 0.9));
    border-color: rgba(167, 216, 235, 1);
    color: #1A4A64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 216, 235, 0.5);
}
.no-data-cell,
.error-cell {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(12, 129, 236, 0.05), rgba(107, 127, 215, 0.05));
    border-radius: 16px;
    margin: 20px;
}
.retry-btn {
    background: rgba(167, 216, 235, 0.9);
    color: var(--text-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    margin-left: 16px;
    margin-top: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(167, 216, 235, 0.3);
}
.retry-btn:hover {
    background: rgba(167, 216, 235, 1);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(167, 216, 235, 0.4);
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(107, 127, 215, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
body {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 50%, #F5F5F5 100%);
    min-height: 100vh;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 20%, rgba(12, 129, 236, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(107, 127, 215, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}
.main-content {
    margin-top: 40px;
}
.section {
    margin-bottom: 80px;
}
.events-grid,
.requests-grid,
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 32px;
    align-items: stretch;
}

.section.upcoming-events .events-grid,
.section.past-events .past-events-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-lg);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: var(--spacing-sm);
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.section.upcoming-events .events-grid::-webkit-scrollbar,
.section.past-events .past-events-grid::-webkit-scrollbar {
    height: 6px;
}

.section.upcoming-events .events-grid::-webkit-scrollbar-thumb,
.section.past-events .past-events-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 999px;
}

.section.upcoming-events .events-grid::-webkit-scrollbar-track,
.section.past-events .past-events-grid::-webkit-scrollbar-track {
    background: rgba(12, 129, 236, 0.08);
    border-radius: 999px;
}

.section.upcoming-events .events-grid .event-card,
.section.past-events .past-events-grid .event-card {
    flex: 0 0 clamp(280px, 32vw, 360px);
    min-width: clamp(280px, 32vw, 360px);
    scroll-snap-align: start;
}
.event-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #000000;
}
.request-card,
.offer-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: 20px;
    padding: 16px;
    border: 1px solid rgba(12, 129, 236, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 600px;
}
.request-card::before,
.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(120deg, #0C81EC 0%, #7613C3 100%);
    border-radius: 20px 20px 0 0;
}
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.request-card:hover,
.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    position: relative;
}
.section-title::after {
    display: none;
}
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    .company-form-section,
    .faculty-form-section {
        padding: 24px;
        margin-bottom: 40px;
    }
    .section-header h2 {
        font-size: 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-primary,
    .btn-secondary {
        min-width: 100%;
    }
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .filters-row {
        justify-content: stretch;
    }
    .filter-select {
        flex: 1;
        min-width: auto;
    }
    .requests-table-container,
    .offers-table-container {
        overflow: auto;
        border-radius: 16px;
        max-height: 500px;
    }
    .requests-table,
    .offers-table {
        min-width: 1400px;
    }
    .details-cell {
        max-width: 200px;
    }
    .details-cell .request-description,
    .details-cell .offer-description {
        max-height: 40px;
        font-size: 12px;
    }
    .formats-cell {
        max-width: 120px;
    }
    .topic-cell {
        min-width: 100px;
        max-width: 120px;
    }
    .topic-tag {
        font-size: 8px;
        padding: 3px 6px;
        border-radius: 8px;
    }
    .requests-table th,
    .offers-table th,
    .requests-table td,
    .offers-table td {
        padding: 16px 20px;
    }
}
.partner-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(12, 129, 236, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}
.partner-logo a:hover {
    opacity: 0.8;
}
.partner-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.partner-info {
    text-align: center;
    flex: 1;
    margin-bottom: var(--spacing-md);
}
.partner-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}
.partner-sphere {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #5A6FD7;
    background-color: rgba(90, 111, 215, 0.15);
    padding: 4px var(--spacing-sm);
    border-radius: var(--radius-lg);
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(90, 111, 215, 0.3);
}
.partner-description {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}
.partner-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}
.partner-type,
.partner-size {
    font-size: 0.75rem;
    padding: 2px var(--spacing-xs);
    border-radius: var(--radius-sm);
    font-weight: 500;
}
.partner-type {
    background-color: rgba(118, 19, 195, 0.15);
    color: #7613C3;
    border: 1px solid rgba(118, 19, 195, 0.3);
}
.partner-size {
    background-color: rgba(12, 129, 236, 0.15);
    color: #0C81EC;
    border: 1px solid rgba(12, 129, 236, 0.3);
}
.partner-actions {
    margin-top: auto;
    text-align: center;
}
.contact-button {
    background: linear-gradient(135deg, rgba(167, 216, 235, 0.7), rgba(186, 196, 232, 0.7));
    color: #2A5A74;
    border: 2px solid rgba(167, 216, 235, 0.9);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(167, 216, 235, 0.4);
    min-width: 120px;
}
.contact-button:hover {
    background: linear-gradient(135deg, rgba(167, 216, 235, 0.9), rgba(186, 196, 232, 0.9));
    border-color: rgba(167, 216, 235, 1);
    color: #1A4A64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 216, 235, 0.5);
}
.contact-button:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .partner-card {
        padding: var(--spacing-md);
    }
    .partner-logo {
        width: 60px;
        height: 60px;
    }
    .partner-logo img {
        width: 40px;
        height: 40px;
    }
}
.user-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: var(--secondary-blue);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.user-info {
    flex: 1;
    text-align: left;
}
.user-avatar {
    width: 100%;
    max-width: 25%;
    height: 5rem;
}
.user-avatar img {
    width: 100%;
    height: 5rem;
}
.user-info h3 {
    margin: 0 0 5px 0;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
}
.user-info p {
    margin: 0 0 3px 0;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    text-align: left;
}
.user-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}
.cabinet-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.tab-button {
    padding: 12px 24px;
    background: rgb(240, 243, 247);
    border: 2px solid transparent;
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tab-button:hover {
    background: var(--primary-beige);
    color: var(--text-dark);
    border-color: rgba(167, 216, 235, 0.9);
    transform: translateY(-1px);
}
.tab-button.active {
    background: rgba(167, 216, 235, 0.9);
    color: var(--text-dark);
    border-color: rgba(167, 216, 235, 0.7);
    box-shadow: 0 3px 15px rgba(167, 216, 235, 0.4);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--primary-beige);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}
.stat-card h4 {
    margin: 0 0 10px 0;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 600;
}
.stat-card p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

#stat-1-value,
#stat-2-value,
#stat-3-value,
#stat-4-value {
    color: #1578e9;
    font-size: 48px;
}
.dashboard-recent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    .dashboard-recent {
        grid-template-columns: 1fr;
    }
}
.recent-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: 600;
}
.recent-list {
    max-height: 300px;
    overflow-y: auto;
}
.recent-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-light);
}
.recent-item:last-child {
    border-bottom: none;
}
.recent-item-title {
    font-weight: bold;
    margin-bottom: 5px;
}
.recent-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
}
.status-badge {
    padding: 5px 14px;
    border-radius: 18px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: rgba(200, 210, 230, 0.35);
    color: #6B7A95;
    border: 1px solid rgba(200, 210, 230, 0.6);
    transition: all 0.2s ease;
}

.request-card, .offer-card, .response-card {
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 600px;
    overflow: hidden;
}
.response-card {
    border-left: 4px solid #1578e9;
}
.response-item-info h5 {
    margin: 0 0 10px 0;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
}
.item-description {
    color: #000000;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.response-card p {
    margin: 10px 0;
    color: #000000;
    font-weight: 600;
}
.response-message-text {
    margin: 10px 0;
    padding: 0;
    color: #000000;
    line-height: 1.5;
    font-weight: normal;
}
.contact-info-list {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}
.contact-info-list li {
    padding: 4px 0;
    color: #000000;
}
.contact-info-list a {
    color: #1578e9;
    text-decoration: none;
}
.contact-info-list a:hover {
    text-decoration: underline;
}
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}
.card-actions button {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    /*white-space: nowrap;*/
}
@media (max-width: 768px) {
    .card-actions {
        flex-direction: column;
    }
    .card-actions button {
        width: 100%;
        min-width: unset;
    }
}
.card-actions .btn-primary {
    background: rgba(167, 216, 235, 0.9);
    color: var(--text-dark);
    border: none;
}
.card-actions .btn-primary:hover {
    background: rgba(167, 216, 235, 1);
    transform: translateY(-1px);
}
.card-actions .btn-secondary {
    background: #f3f4f6;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}
.card-actions .btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}
.card-actions .reject-response-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.3);
}
.btn-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.request-card:hover, .offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.request-card,
.offer-card {
    height: auto;
    max-height: none;
    overflow: visible;
}
.request-card .card-description,
.offer-card .card-description {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    max-height: none;
    overflow: visible;
    white-space: normal;
}
.request-card .desired-dates,
.offer-card .desired-dates {
    margin-top: var(--spacing-sm);
    height: auto;
    min-height: 0;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    width: 100%;
}
.response-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.response-card .card-header:hover {
    border: none;
    outline: none;
    box-shadow: none;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.card-header > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.card-header h4 {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
}
.response-card .card-header .created-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: normal;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}
.created-date {
    font-size: 13px;
    color: var(--text-muted);
}
.card-actions {
    display: flex;
    gap: 8px;
}
.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    min-width: auto;
}
.edit-btn.btn-small {
    background: rgba(255, 200, 150, 0.5);
    color: #C87A3A;
    border: 2px solid rgba(255, 200, 150, 0.8);
    box-shadow: 0 2px 6px rgba(255, 200, 150, 0.4);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.edit-btn.btn-small:hover {
    background: rgba(255, 200, 150, 0.7);
    border-color: rgba(255, 200, 150, 1);
    color: #C87A3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 200, 150, 0.5);
}
.create-event-btn.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}
.create-event-btn.btn-small .btn-icon {
    display: inline-block;
    font-size: 14px;
}
.settings-section {
    margin-bottom: 40px;
}
.settings-form .form-group {
    margin-bottom: 20px;
}
.settings-form .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background: white;
}
.settings-form .form-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(232, 180, 160, 0.2);
}
.moderator-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.tool-card {
    background: var(--secondary-blue);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}
.tool-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
}
.tool-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}
.error-banner {
    background: #f44336;
    color: white;
    padding: 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.error-banner button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-style: italic;
    background: var(--primary-beige);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.section-header .section-title {
    margin: 0;
}
.section-header .btn-primary {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .user-profile-header {
        flex-direction: column;
        text-align: center;
    }
    .user-actions {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    .section-header .btn-primary {
        align-self: center;
    }
    .cabinet-tabs {
        flex-wrap: wrap;
    }
    .tab-button {
        flex: 1;
        min-width: 120px;
    }
}
.user-type-selector {
    text-align: center;
    padding: 40px 20px;
}
.selector-header h3 {
    margin: 0 0 10px 0;
    color: var(--text-dark);
    font-size: var(--font-size-xl);
}
.selector-header p {
    margin: 0 0 30px 0;
    color: var(--text-light);
    font-size: var(--font-size-base);
}
.user-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.user-type-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 129, 236, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.user-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: #0C81EC;
}
.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.user-type-card h4 {
    margin: 0 0 15px 0;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
}
.user-type-card p {
    margin: 0 0 20px 0;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}
.select-type-btn {
    width: 100%;
}
.user-cabinet {
    display: none;
}
.cabinet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}
.cabinet-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: var(--font-size-2xl);
}
.interactions-timeline {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 129, 236, 0.2);
    backdrop-filter: blur(10px);
}
.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-item:not(:last-child):before {
    content: '';
    position: absolute;
    left: 100px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: var(--border-light);
}
.timeline-date {
    width: 120px;
    padding-right: 20px;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 600;
    flex-shrink: 0;
}
.timeline-content {
    flex: 1;
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}
.interaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.interaction-type {
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-base);
}
.interaction-details p {
    margin: 0;
    line-height: 1.5;
    color: var(--text-light);
}
.interaction-details strong {
    color: var(--text-dark);
    font-weight: 600;
}
.requests-table-container,
.offers-table-container,
.users-table-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: var(--radius-lg);
    overflow: auto;
    max-height: 75vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 129, 236, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}
.requests-table,
.offers-table,
.users-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.requests-table th,
.offers-table th,
.users-table th {
    background: linear-gradient(135deg, rgba(12, 129, 236, 0.1), rgba(12, 129, 236, 0.05));
    font-weight: 700;
    color: var(--text-dark);
    font-size: 13px;
    text-transform: uppercase;
    padding: 15px 12px;
    text-align: left;
}
.requests-table td,
.offers-table td,
.users-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--font-size-sm);
}
.requests-table tr:last-child td,
.offers-table tr:last-child td,
.users-table tr:last-child td {
    border-bottom: none;
}
.requests-table tr:hover,
.offers-table tr:hover,
.users-table tr:hover {
    background: inherit !important;
    border-color: inherit !important;
    border-left: none !important;
    color: inherit !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    opacity: inherit !important;
}
.card-content {
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.card-content p {
    margin: 0 0 15px 0;
    line-height: 1.5;
    color: var(--text-light);
}
.request-tags,
.offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    background: var(--primary-beige);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.interaction-header .status-badge {
    font-size: 11px;
    padding: 3px 10px;
}
@media (max-width: 768px) {
    .user-type-cards {
        grid-template-columns: 1fr;
    }
    .cabinet-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .timeline-item {
        flex-direction: column;
    }
    .timeline-date {
        width: auto;
        margin-bottom: 10px;
        padding-right: 0;
    }
    .timeline-item:not(:last-child):before {
        left: 20px;
        top: 60px;
        bottom: -30px;
    }
    .requests-table-container,
    .offers-table-container,
    .users-table-container {
        overflow-x: auto;
    }
    .requests-table,
    .offers-table,
    .users-table {
        min-width: 600px;
    }
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.modal-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: var(--radius-xl);
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(12, 129, 236, 0.2);
    backdrop-filter: blur(20px);
    animation: slideUp 0.3s ease forwards;
}
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 2px solid var(--border-light);
}
.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    font-weight: 700;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    padding: var(--spacing-xs);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.modal-close:hover {
    background: var(--border-light);
    color: var(--text-dark);
}
.modal-body {
    padding: var(--spacing-lg);
}
.form-help {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(12, 129, 236, 0.08), rgba(118, 19, 195, 0.08));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}
.form-help h4 {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-dark);
    font-size: var(--font-size-base);
    font-weight: 600;
}
.form-help p {
    margin: var(--spacing-xs) 0;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: 1.4;
}
.form-help strong {
    color: var(--primary-blue);
    font-weight: 600;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}
.admin-actions {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(12, 129, 236, 0.2);
}
.admin-actions h3 {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: 600;
}
.admin-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}
.admin-buttons button {
    min-width: 140px;
}
.badge {
    display: inline-block;
    padding: 4px var(--spacing-xs);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-blue {
    background-color: var(--primary-blue);
    color: var(--white);
}
.badge-green {
    background-color: var(--primary-green);
    color: var(--white);
}
.badge-orange {
    background-color: rgba(255, 200, 150, 0.5);
    color: #C87A3A;
    border: 1px solid rgba(255, 200, 150, 0.8);
}
.btn-small {
    padding: 6px 12px;
    font-size: 0.75rem;
    min-width: auto;
    border-radius: var(--radius-sm);
}
.item-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    line-height: 1.3;
}
.item-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    opacity: 0.8;
}
.response-card,
.event-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(12, 129, 236, 0.2);
    transition: all 0.3s ease;
}
.response-card .card-header {
    background: white;
}
.response-card .card-header:hover {
    border: none;
    outline: none;
    box-shadow: none;
}
.response-card .card-header > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.response-card .card-header .created-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: normal;
}
.response-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #1578e9;
}
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--border-light);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-light);
}
.card-header h4 {
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-dark);
}
.card-content {
    margin-bottom: var(--spacing-sm);
}
.card-content p {
    margin: var(--spacing-xs) 0;
    line-height: 1.5;
    color: var(--text-light);
    font-size: var(--font-size-sm);
}
.card-content strong {
    color: var(--text-dark);
    font-weight: 600;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .admin-buttons {
        flex-direction: column;
    }
    .admin-buttons button {
        min-width: 100%;
    }
}

/*
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.3);
        --border-light: #000000;
    }
}
 */
.admin-workflow {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(12, 129, 236, 0.2);
}
.admin-workflow h3 {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: 600;
}
.workflow-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding: var(--spacing-md) 0;
}
.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    position: relative;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}
.step-content h4 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-dark);
    font-size: var(--font-size-base);
    text-align: center;
}
.step-content p {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    text-align: center;
    line-height: 1.4;
}
.step-status {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    background: rgba(107, 127, 215, 0.1);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}
.workflow-arrow {
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: bold;
    margin: 0 var(--spacing-xs);
}


.badge-red {
    background-color: #e74c3c;
    color: var(--white);
}
.requests-table th {
    background-color: rgba(12, 129, 236, 0.1);
    color: var(--text-dark);
    font-weight: 600;
    padding: var(--spacing-xs);
    border-bottom: 2px solid var(--border-light);
}
.requests-table td {
    padding: var(--spacing-xs);
    vertical-align: middle;
    border-bottom: 1px solid var(--border-light);
}
@media (max-width: 768px) {
    .workflow-info {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    .workflow-arrow {
        transform: rotate(90deg);
        margin: var(--spacing-xs) 0;
    }
    .workflow-step {
        min-width: 100%;
        max-width: 300px;
    }
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
.enhanced-table-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    height: 70vh;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(226,232,240,0.95));
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 129, 236, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}
.table-main-section {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.table-header-controls {
    padding: 20px;
    border-bottom: 2px solid var(--border-light);
    background: rgba(226, 232, 240, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.table-search-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
}
.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.fullscreen-btn, .export-btn, .filter-toggle-btn {
    background-color: rgba(186, 196, 232, 0.4);
    color: #6C7BA8;
    border: 1px solid rgba(186, 196, 232, 0.7);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}
.fullscreen-btn:hover, .export-btn:hover, .filter-toggle-btn:hover {
    background-color: rgba(186, 196, 232, 0.6);
    border-color: rgba(186, 196, 232, 0.9);
    color: #5C6B98;
    transform: translateY(-1px);
}
.export-btn {
    background-color: rgba(167, 216, 235, 0.4);
    color: #4A90A4;
    border-color: rgba(167, 216, 235, 0.7);
}
.export-btn:hover {
    background-color: rgba(167, 216, 235, 0.6);
    border-color: rgba(167, 216, 235, 0.9);
    color: #3A7A94;
}
.filter-toggle-btn.active {
    background-color: rgba(216, 191, 235, 0.5);
    color: #9B7FAD;
    border-color: rgba(216, 191, 235, 0.8);
}
.enhanced-table-container.fullscreen,
.requests-table-container.fullscreen,
.offers-table-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    margin: 0;
    max-height: 100vh;
}
.table-filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 15px 20px 0;
    background: rgba(226, 232, 240, 0.3);
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}
.filter-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
}
.advanced-search-input,
.advanced-filter-select {
    padding: 8px 12px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    font-size: 13px;
    transition: all 0.3s ease;
}
.advanced-search-input:focus,
.advanced-filter-select:focus {
    outline: none;
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(107, 127, 215, 0.1);
}
.table-data-section {
    flex: 1;
    overflow: auto;
    position: relative;
}
.enhanced-requests-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1200px;
    table-layout: fixed;
}
.enhanced-requests-table th {
    background: linear-gradient(135deg, rgba(12, 129, 236, 0.15), rgba(12, 129, 236, 0.08));
    font-weight: 700;
    color: var(--text-dark);
    font-size: 11px;
    text-transform: uppercase;
    padding: 15px 12px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 2px solid var(--border-light);
}
.enhanced-requests-table td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(12, 129, 236, 0.1);
    font-size: 13px;
    vertical-align: top;
    word-wrap: break-word;
    line-height: 1.4;
}
.enhanced-requests-table tr:hover {
    background: inherit !important;
    border-color: inherit !important;
    border-left: none !important;
    color: inherit !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    opacity: inherit !important;
}
.enhanced-requests-table tr.selected {
    background: rgba(12, 129, 236, 0.1);
    border-left: 4px solid var(--primary-blue);
}
.table-details-panel {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    overflow-y: auto;
    border-left: 2px solid var(--border-light);
    backdrop-filter: blur(5px);
}
.details-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}
.details-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.close-details-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.close-details-btn:hover {
    background: var(--border-light);
    color: var(--text-dark);
}
.details-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.detail-section {
    border-radius: var(--radius-md);
    padding: 10px;
    background: rgba(226, 232, 240, 0.5);
    border: 1px solid var(--border-light);
}
.detail-section h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
}
.detail-section p {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-light);
}
.detail-section strong {
    color: var(--text-dark);
    font-weight: 600;
}
.details-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.details-respond-btn,
.details-edit-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.details-respond-btn {
    background: rgba(167, 216, 235, 0.9);
    color: var(--white);
}
.details-respond-btn:hover {
    background: rgba(167, 216, 235, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(167, 216, 235, 0.3);
}
.details-edit-btn {
    background: var(--primary-beige);
    color: var(--text-dark);
    border: 2px solid var(--primary-green);
}
.details-edit-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}
.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--white);
    border-radius: 0;
}
.fullscreen-mode .enhanced-table-container {
    height: 100vh;
    border-radius: 0;
    grid-template-columns: 1fr 350px;
}
.fullscreen-mode .table-details-panel {
    border-radius: 0;
}
.no-selection-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-muted);
}
.no-selection-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}
.no-selection-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
.no-selection-subtext {
    font-size: 13px;
    line-height: 1.5;
}
@media (max-width: 1024px) {
    .enhanced-table-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
    .table-details-panel {
        border-left: none;
        border-top: 2px solid var(--border-light);
        max-height: 300px;
    }
    .fullscreen-mode .enhanced-table-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 40%;
    }
}
@media (max-width: 768px) {
    .table-header-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .table-search-controls {
        flex-direction: column;
        gap: 8px;
    }
    .table-filter-row {
        flex-direction: column;
        gap: 8px;
    }
    .filter-group {
        min-width: 100%;
    }
    .enhanced-requests-table {
        min-width: 800px;
    }
}
.create-event-modal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
}
.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 14px;
}
.create-event-modal-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.create-event-modal-container .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 0;
}
.create-event-modal-container .form-group.half-width {
    flex: 1;
}
.create-event-modal-container .form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
}
.create-event-modal-container .form-group input,
.create-event-modal-container .form-group select,
.create-event-modal-container .form-group textarea {
    padding: 16px 20px;
    border: 2px solid transparent;
    background: rgba(226, 232, 240, 0.5);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
}
.create-event-modal-container .form-group input:focus,
.create-event-modal-container .form-group select:focus,
.create-event-modal-container .form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(107, 127, 215, 0.1);
    transform: translateY(-1px);
}
.create-event-modal-container .form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.create-event-modal-container .form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}
.create-event-modal-container .modal-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--background-light);
}
.create-event-modal-container .modal-actions button {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.create-event-modal-container .create-event-submit-btn {
    background: rgba(167, 216, 235, 0.9);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(167, 216, 235, 0.3);
}
.create-event-modal-container .create-event-submit-btn:hover {
    background: rgba(167, 216, 235, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 216, 235, 0.4);
    color: var(--text-dark);
}
.create-event-modal-container .modal-actions .btn-secondary {
    background: #f3f4f6;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}
.create-event-modal-container .modal-actions .btn-secondary:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.3);
}
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .form-group.half-width {
        flex: 1;
    }
    .modal-actions {
        flex-direction: column;
    }
    .modal-actions button {
        width: 100%;
        justify-content: center;
    }
}
.event-status-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.event-description {
    margin-bottom: 15px;
    line-height: 1.5;
}
.event-details {
    margin-top: 15px;
}
.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}
.detail-row:last-child {
    margin-bottom: 0;
}
.detail-label {
    font-weight: 600;
    min-width: 120px;
    color: #000000;
    font-size: 14px;
}
.card-image {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    height: 200px;
    position: relative;
    background: #f0f0f0;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Стили для изображений в карточках событий */
.event-card .card-image {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    height: 200px;
    position: relative;
    background: #f0f0f0;
}
.event-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.event-card img.card-image {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.event-card-image {
    margin: 15px 16px;
    border-radius: 12px;
    overflow: hidden;
    width: calc(100% - 32px);
    height: 200px;
    position: relative;
    background: #f0f0f0;
}
.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.response-form-container {
    max-width: 100%;
}
.response-item-info {
    margin-bottom: 0;
}
.response-form-container .detail-section {
    margin-bottom: 0;
}
.response-form-container .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    margin-top: 8px;
}
.response-form-container .form-textarea:focus {
    outline: none;
    background: white;
    border-color: rgba(167, 216, 235, 0.9);
    box-shadow: 0 0 0 4px rgba(167, 216, 235, 0.1);
}
.response-form-container .form-textarea.input-warning {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}
.response-form-container .details-actions {
    margin-top: 10px;
}
.response-form-container .back-to-details-btn {
    background: var(--primary-beige);
    color: var(--text-dark);
    border: 2px solid var(--primary-green);
}
.response-form-container .back-to-details-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}
.response-form-container .response-submit-btn {
    background: rgba(167, 216, 235, 0.9);
    color: #2A5A74;
    border: 2px solid rgba(167, 216, 235, 0.9);
    box-shadow: 0 2px 6px rgba(167, 216, 235, 0.4);
    font-weight: 700;
}
.response-form-container .response-submit-btn:hover:not(:disabled) {
    background: rgba(167, 216, 235, 1);
    border-color: rgba(167, 216, 235, 1);
    color: #1A4A64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 216, 235, 0.5);
}
.response-item-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.item-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-blue {
    background: rgba(107, 127, 215, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(107, 127, 215, 0.3);
}
.badge-green {
    background: rgba(12, 129, 236, 0.12);
    color: var(--brand-blue);
    border: 1px solid rgba(12, 129, 236, 0.3);
}
.response-item-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}
.response-item-org {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.form-section {
    margin-bottom: 24px;
}
.form-section-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid transparent;
    background: rgba(226, 232, 240, 0.5);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}
.form-textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(107, 127, 215, 0.1);
}
.form-textarea.input-warning {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}
.data-sharing-notice {
    margin: 0;
}
.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.notice-icon {
    display: none;
}
.notice-header h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}
.contact-info-list {
    margin: 12px 0;
    padding-left: 20px;
}
.contact-info-list li {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}
.notice-disclaimer {
    margin: 12px 0 0 0;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}
.consent-group {
    margin: 24px 0;
}
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}
.checkbox-container input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
}
.checkbox-text {
    color: var(--text-dark);
    font-weight: 500;
}
.response-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.response-form-container .response-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.back-to-details-btn {
    background: rgba(226, 232, 240, 0.8);
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.back-to-details-btn:hover {
    background: rgba(12, 129, 236, 0.3);
    border-color: var(--secondary-color);
    color: var(--text-primary);
}
.response-submit-btn {
    background: rgba(167, 216, 235, 0.9);
    color: #2A5A74;
    border: 2px solid rgba(167, 216, 235, 0.9);
    box-shadow: 0 2px 6px rgba(167, 216, 235, 0.4);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.response-submit-btn:hover:not(:disabled) {
    background: rgba(167, 216, 235, 1);
    border-color: rgba(167, 216, 235, 1);
    color: #1A4A64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 216, 235, 0.5);
}
.response-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.btn-spinner {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/*
.requests-table-container.my-items-table,
.offers-table-container.my-items-table {
    max-height: 600px;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.requests-table-container.my-items-table .requests-table,
.offers-table-container.my-items-table .offers-table {
    width: 100%;
    table-layout: auto; }
.requests-table-container.my-items-table .requests-table td,
.offers-table-container.my-items-table .offers-table td {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    vertical-align: top;
    padding: 12px 8px;
    white-space: normal;     overflow-wrap: break-word;
}
.requests-table-container.my-items-table .requests-table th,
.offers-table-container.my-items-table .offers-table th {
    padding: 12px 8px;
    white-space: normal;
    word-wrap: break-word;
    vertical-align: top;
}
.requests-table-container.my-items-table .request-title,
.offers-table-container.my-items-table .offer-title {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.3;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
}
.requests-table-container.my-items-table .request-description,
.offers-table-container.my-items-table .offer-description {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.5;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.9;
    margin-top: 4px;
    white-space: normal;
    overflow-wrap: break-word;
}
.requests-table-container.my-items-table .formats-cell,
.offers-table-container.my-items-table .formats-cell {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
}
.requests-table-container.my-items-table .topic-cell,
.offers-table-container.my-items-table .topic-cell {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
}
.requests-table-container.my-items-table .status-cell,
.offers-table-container.my-items-table .status-cell {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
}
.requests-table-container.my-items-table .actions-cell,
.offers-table-container.my-items-table .actions-cell {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    white-space: nowrap; }
.requests-table-container.my-items-table .department-cell,
.offers-table-container.my-items-table .company-cell {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
    white-space: normal;
    overflow-wrap: break-word;
}
.requests-table-container.my-items-table .date-cell,
.offers-table-container.my-items-table .date-cell {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    white-space: nowrap; }
.requests-table-container.my-items-table .responses-cell,
.offers-table-container.my-items-table .responses-cell {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    text-align: center;
    font-weight: 600;
    white-space: nowrap; }
.requests-table-container.my-items-table .actions-cell .btn-small,
.offers-table-container.my-items-table .actions-cell .btn-small {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 12px;
    margin: 2px 0;
    display: inline-block;
    width: 100%;
    text-align: center;
}
.requests-table-container.my-items-table .topic-tag,
.offers-table-container.my-items-table .topic-tag {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    display: inline-block;
    max-width: 100%;
    line-height: 1.2;
    overflow-wrap: break-word;
}
@media (max-width: 768px) {
    .requests-table-container.my-items-table .requests-table td,
    .offers-table-container.my-items-table .offers-table td {
        font-size: 12px;
        padding: 8px 6px;
        line-height: 1.3;
    }
    .requests-table-container.my-items-table .request-title,
    .offers-table-container.my-items-table .offer-title {
        font-size: 12px;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    .requests-table-container.my-items-table .request-description,
    .offers-table-container.my-items-table .offer-description {
        font-size: 11px;
        line-height: 1.3;
        margin-top: 2px;
    }
    .requests-table-container.my-items-table .actions-cell .btn-small,
    .offers-table-container.my-items-table .actions-cell .btn-small {
        font-size: 10px;
        padding: 4px 8px;
        margin: 1px 0;
    }
}

 */
.service-description {
    background: var(--white);
    padding: 0;
    margin-bottom: var(--spacing-xl);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 60px rgba(12, 17, 43, 0.08);
}
.service-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="%23E5E7EB" stroke-width="0.4" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.15;
}
.description-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}
.description-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
.description-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.description-main {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
}
.description-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
}
.feature-item:hover {
    transform: none;
    box-shadow: none;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.feature-icon svg {
    width: 30px;
    height: 30px;
}
.feature-icon--companies {
    background: rgba(12, 129, 236, 0.12);
}
.feature-icon--faculty {
    background: transparent !important;
}
.feature-icon--faculty img {
    background: transparent !important;
}
.feature-item p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    text-align: left;
    width: 100%;
}
.feature-item strong {
    color: var(--primary-green);
    font-weight: 600;
}
@media (max-width: 768px) {
    .service-description {
        padding: 0;
        margin-bottom: 0;
    }
    .description-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }
    .description-main {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-lg);
    }
    .description-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }
    .feature-item {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: left;
    }
    .feature-icon {
        margin-bottom: var(--spacing-sm);
    }
}
@media (max-width: 480px) {
    .description-container {
        padding: 0 var(--spacing-md);
    }
    .description-title {
        font-size: var(--font-size-xl);
    }
    .description-main {
        font-size: var(--font-size-sm);
    }
    .feature-item p {
        font-size: var(--font-size-sm);
    }
}