/* Technopolis HR Platform - Custom Styles */

/* Root Variables - Technopolis Theme */
:root {
    --red: #D00E46;
    --orange: #ff6300;
    --textColor: #393649;
    --rose: #f09eb5;
    --brown: #740827;
    --textGray: #929292;
    --lightGray: #c2c0c6;
    --grayBg: #ebebeb;
    --lineHeight: 1.5rem;
    --lightRose: #f7e5ea;
    --white: #fff;
}

/* Badge Utilities */
.badge-outline {
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
    color: var(--md-sys-color-on-surface-variant);
}

/* Border utilities */
.border-bottom {
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

/* Flex utilities */
.flex-grow-1 {
    flex-grow: 1;
}

/* Font weight */
.font-weight-bold {
    font-weight: 700;
}

/* Form check styles */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid var(--md-sys-color-outline);
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: var(--md-sys-color-primary);
    border-color: var(--md-sys-color-primary);
}

.form-check-label {
    cursor: pointer;
    font-size: var(--md-sys-typescale-body-large-size);
    color: var(--md-sys-color-on-surface);
}

/* Card body padding override */
.card-body {
    padding: 24px;
}

.card-body.p-0 {
    padding: 0;
}

/* Additional utility classes */
.overflow-hidden {
    overflow: hidden;
}

.text-decoration-none {
    text-decoration: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Hover effects */
.hover-shadow:hover {
    box-shadow: var(--md-sys-elevation-level3);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Public Vacancy Page Styles */
.page-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.hr-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.hr-content-card {
    background: var(--md-sys-color-surface);
    border-radius: 12px;
    box-shadow: var(--md-sys-elevation-level1);
    border: 1px solid var(--md-sys-color-outline-variant);
    overflow: hidden;
}

.hr-content-card-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    background: var(--md-sys-color-surface-variant);
}

.hr-content-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
}

.hr-content-card-title .material-icons {
    color: var(--red);
    font-size: 1.5rem;
}

.hr-content-card-body {
    padding: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--md-sys-color-surface-container-low);
    border-radius: 8px;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--red);
    color: white;
    border-radius: 8px;
    flex-shrink: 0;
}

.info-icon .material-icons {
    font-size: 20px;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.875rem;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 4px;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: var(--md-sys-color-on-surface);
    font-weight: 600;
}

.content-text {
    line-height: 1.6;
    color: var(--md-sys-color-on-surface);
    white-space: pre-wrap;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-name {
    color: var(--red);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.company-description {
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
}

.company-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.contact-item .material-icons {
    color: var(--red);
    font-size: 20px;
}

.contact-item a {
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.similar-vacancies {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.similar-vacancy-item {
    padding: 16px;
    background: var(--md-sys-color-surface-container-low);
    border-radius: 8px;
    border: 1px solid var(--md-sys-color-outline-variant);
    transition: all 0.3s ease;
}

.similar-vacancy-item:hover {
    background: var(--md-sys-color-surface-container);
    box-shadow: var(--md-sys-elevation-level1);
}

.similar-vacancy-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.similar-vacancy-title a {
    color: var(--red);
    text-decoration: none;
}

.similar-vacancy-title a:hover {
    text-decoration: underline;
}

.similar-vacancy-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.similar-vacancy-company {
    color: var(--md-sys-color-on-surface);
    font-weight: 500;
    font-size: 0.875rem;
}

.similar-vacancy-location {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .hr-content-card-header,
    .hr-content-card-body {
        padding: 16px;
    }
}

/* Internships Page Styles */
.vacancy__probation-btn {
    color: var(--md-sys-color-on-surface);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vacancy__probation-btn:hover {
    text-decoration: none;
}

.vacancy__probation-btn.active {
    border-color: var(--red);
}

/* Internship Card Styles */
.vacancy__card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.vacancy__card-duration,
.vacancy__card-stipend,
.vacancy__card-remote {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--textGray);
    background: var(--md-sys-color-surface-container-low);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.vacancy__card-duration .material-icons,
.vacancy__card-stipend .material-icons,
.vacancy__card-remote .material-icons {
    font-size: 16px;
}

.vacancy__card-stipend {
    color: var(--red);
    font-weight: 600;
    background: var(--lightRose);
    border-color: var(--red);
}

.vacancy__card-remote {
    color: var(--md-sys-color-primary);
    background: var(--md-sys-color-primary-container);
    border-color: var(--md-sys-color-primary);
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--md-sys-color-surface);
    border-radius: 12px;
    border: 1px solid var(--md-sys-color-outline-variant);
    margin: 24px 0;
}

.empty-state-icon {
    margin-bottom: 20px;
}

.empty-state-icon .material-icons {
    font-size: 4rem;
    color: var(--textGray);
}

.empty-state-title {
    color: var(--textColor);
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 600;
}

.empty-state-text {
    color: var(--textGray);
    margin-bottom: 0;
    font-size: 1rem;
}

/* Internship Detail Page Styles */
.internship-duration {
    color: var(--md-sys-color-primary);
    font-weight: 600;
}

.internship-stipend {
    color: var(--red);
    font-weight: 700;
    font-size: 1.1rem;
}

.internship-remote {
    color: var(--md-sys-color-primary);
    font-weight: 500;
}

/* University Info Styles */
.university-info {
    background: var(--md-sys-color-surface-container-low);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.university-name {
    color: var(--red);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.university-description {
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
    margin-bottom: 16px;
}

.university-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.university-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.university-contact-item .material-icons {
    color: var(--red);
    font-size: 18px;
}

.university-contact-item a {
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}

.university-contact-item a:hover {
    text-decoration: underline;
}

/* Similar Internships Styles */
.similar-internships {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-internship-item {
    padding: 12px;
    background: var(--md-sys-color-surface-container-low);
    border-radius: 8px;
    border: 1px solid var(--md-sys-color-outline-variant);
    transition: all 0.3s ease;
}

.similar-internship-item:hover {
    background: var(--md-sys-color-surface-container);
    box-shadow: var(--md-sys-elevation-level1);
}

.similar-internship-title {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.similar-internship-title a {
    color: var(--red);
    text-decoration: none;
}

.similar-internship-title a:hover {
    text-decoration: underline;
}

.similar-internship-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.similar-internship-university {
    color: var(--md-sys-color-on-surface);
    font-weight: 500;
    font-size: 0.875rem;
}

.similar-internship-location {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.8rem;
}

/* Responsive for Internships */
@media (max-width: 768px) {
    .vacancy__card-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .vacancy__card-duration,
    .vacancy__card-stipend,
    .vacancy__card-remote {
        justify-content: center;
    }
    
    .empty-state {
        padding: 40px 16px;
    }
    
    .empty-state-icon .material-icons {
        font-size: 3rem;
    }
    
    .empty-state-title {
        font-size: 1.25rem;
    }
}

/* Grid layouts */
.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* List styles */
.list-none {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Position utilities */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

/* Overflow utilities */
.overflow-auto {
    overflow: auto;
}

.overflow-scroll {
    overflow: scroll;
}

/* White space */
.whitespace-nowrap {
    white-space: nowrap;
}

.whitespace-pre-wrap {
    white-space: pre-wrap;
}

/* Text overflow */
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Opacity */
.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

/* Z-index */
.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

/* Technopolis specific components */
.technopolis-card {
    background: white;
    border: 1px solid var(--lightGray);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.technopolis-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--red);
}

.technopolis-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    text-decoration: none;
}

.technopolis-btn--primary {
    background: var(--red);
    color: white;
}

.technopolis-btn--primary:hover {
    background: var(--brown);
}

.technopolis-btn--secondary {
    background: var(--grayBg);
    color: var(--textColor);
    border: 1px solid var(--lightGray);
}

.technopolis-btn--secondary:hover {
    background: white;
    border-color: var(--red);
}

.technopolis-badge {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--grayBg);
    border-radius: 10px;
    color: var(--textGray);
    display: inline-block;
}

.technopolis-badge--primary {
    background: var(--lightRose);
    color: var(--red);
}

.technopolis-badge--success {
    background: var(--md-sys-color-success-container);
    color: var(--md-sys-color-on-success-container);
}

/* Responsive utilities */
@media (max-width: 1200px) {
    .hide-lg {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .hide-md {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hide-sm {
        display: none !important;
    }
    
    .grid-auto-fill,
    .grid-auto-fit {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hide-xs {
        display: none !important;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 2px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--red);
    color: white;
}

::-moz-selection {
    background-color: var(--red);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--grayBg);
}

::-webkit-scrollbar-thumb {
    background: var(--lightGray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--textGray);
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Fade animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-in;
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-out;
}

/* Slide animations */
@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in-up {
    animation: slideInUp 0.3s ease-out;
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== НОВЫЕ СТИЛИ ДЛЯ HR ПЛАТФОРМЫ ===== */

/* Стили для пагинации Laravel */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.pagination > li {
    list-style: none;
}

.pagination > li > a,
.pagination > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
}

.pagination > li > a:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1f2937;
}

.pagination > .active > a,
.pagination > .active > span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.pagination > .disabled > a,
.pagination > .disabled > span {
    color: #9ca3af;
    background: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

.pagination > .disabled > a:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
}

/* Новые отклики */
.new-applications-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    overflow: hidden;
}

.new-applications-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    gap: 12px;
}

.new-applications-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.new-applications-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.new-applications-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.new-applications-content {
    padding: 32px;
}

/* Таблица откликов */
.applications-table-container {
    overflow-x: auto;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.applications-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    min-width: 800px;
}

.applications-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.applications-table th {
    padding: 20px 20px;
    text-align: left;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    font-size: 15px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.applications-table td {
    padding: 24px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    background: white;
}

.applications-table tbody tr {
    transition: all 0.3s ease;
}

.applications-table tbody tr:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.applications-table tbody tr:last-child td {
    border-bottom: none;
}

/* Информация о кандидате */
.applicant-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.applicant-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    transition: transform 0.2s ease;
}

.applicant-avatar:hover {
    transform: scale(1.05);
}

.applicant-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.applicant-details strong {
    font-size: 16px;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.3;
}

.applicant-details small {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Информация о вакансии */
.vacancy-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vacancy-title {
    font-size: 15px;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.4;
}

.vacancy-company {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
}

/* Время подачи */
.time-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 10px 14px;
    border-radius: 25px;
    border: 1px solid #bae6fd;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.1);
    transition: all 0.2s ease;
}

.time-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.15);
}

.time-icon {
    color: #0284c7;
    font-size: 18px;
}

.time-text {
    font-size: 13px;
    color: #0369a1;
    font-weight: 600;
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-action {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    background: none;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-action:hover::before {
    left: 100%;
}

.btn-view {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    border-color: #bae6fd;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.1);
}

.btn-view:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.2);
}

.btn-email {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border-color: #bbf7d0;
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.1);
}

.btn-email:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.2);
}

.btn-phone {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border-color: #fde68a;
    box-shadow: 0 2px 4px rgba(217, 119, 6, 0.1);
}

.btn-phone:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    color: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217, 119, 6, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #2e7d32 0%, #2e7d32 100%);
    color: #16a34a;
    border-color: #bbf7d0;
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.1);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.2);
}

.btn-error {
    background: linear-gradient(135deg, var(--red) 0%, var(--red) 100%);
    color: #dc2626;
    border-color: #fecaca;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

.btn-error:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2);
}

/* Статус бейдж */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

.badge-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.badge-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.badge-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border: 1px solid #fecaca;
}

.badge-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #6b7280;
    border: 1px solid #e2e8f0;
}

/* Пагинация */
.applications-pagination {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.new-applications-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

/* Страница "Все отклики" */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.page-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.page-header-text {
    flex: 1;
}

.page-header-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.page-header-subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

.page-header-count {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 16px 20px;
    border-radius: 12px;
    min-width: 120px;
}

.count-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.count-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.page-header-actions {
    display: flex;
    gap: 12px;
}

/* Фильтры */
.filters-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

.filters-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filters-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.filters-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
}

.filters-form {
    padding: 24px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.filter-select,
.filter-input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filters-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Основная карточка с таблицей */
.applications-main-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Ссылка на вакансию */
.vacancy-title-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.vacancy-title-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #9ca3af;
    font-size: 36px;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.empty-state-text {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

