/* Templates CSS - стили из HTML шаблонов */

/* Accounts page styles */
.password-toggle-btn {
    z-index: 10;
    border: none;
    background: none;
    color: var(--color-muted);
}

/* Create jobs page styles */
.progress-thin {
    height: 8px;
}

.progress-thin .progress-bar {
    height: 6px;
}

/* Progress steps styles */
.progress-steps {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.progress-steps-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.progress-steps-description {
    color: #6c757d;
    margin-bottom: 0;
}

.progress-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.progress-steps-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.progress-step-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-step.active .progress-step-number {
    background: #0d6efd;
    color: white;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.progress-step.active .progress-step-label {
    color: #0d6efd;
    font-weight: 600;
}

.progress-step.completed .progress-step-number {
    background: #198754;
    color: white;
}

.progress-step.completed .progress-step-label {
    color: #198754;
    font-weight: 600;
}

/* Profile jobs page styles */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.sortable-header {
    cursor: pointer;
    user-select: none;
}

.sortable-header:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.sortable-header.active {
    background-color: rgba(0, 0, 0, 0.1);
}

.sort-indicator {
    margin-left: 0.5rem;
    font-weight: bold;
}

.small-icon {
    font-size: 8px;
}

.search-input {
    min-width: 250px;
}

.replies-filter {
    min-width: 200px;
}

.subject-truncate {
    max-width: 200px;
}

/* Profile page styles */
.profile-stats {
    background: #fff;
    color: #222;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}
.profile-stats:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    transform: translateY(-2px) scale(1.01);
}
.profile-stats .stat-item {
    text-align: center;
    padding: 0.5rem 0;
}
.profile-stats .stat-value {
    font-size: 2.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.15rem;
}
.profile-stats .stat-label {
    font-size: 0.92rem;
    opacity: 0.85;
    font-weight: 400;
}

.service-icon {
    width: 32px;
    height: 32px;
}

/* Conversation detail styles */
.conversation-messages {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
}

.message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    max-width: 80%;
}

.message.sent {
    background-color: #007bff;
    color: white;
    margin-left: auto;
}

.message.received {
    background-color: #e9ecef;
    color: #212529;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Resume card styles */
.transition-all {
    transition: all 0.3s ease;
}

.border-transparent {
    border-color: transparent !important;
}

.border-success {
    border-color: #198754 !important;
}

.shadow-success {
    box-shadow: 0 0.125rem 0.25rem rgba(25, 135, 84, 0.075), 0 0.5rem 1rem rgba(25, 135, 84, 0.15) !important;
}

.bg-light-success { background-color: #e9fbe5 !important; }
.bg-light-warning { background-color: #fffbe6 !important; }
.border-warning { border-color: #ffc107 !important; }
.shadow-success { box-shadow: 0 0.125rem 0.25rem rgba(25, 135, 84, 0.075), 0 0.5rem 1rem rgba(25, 135, 84, 0.15) !important; }
.bg-light-warning { background-color: #fffbe6 !important; }

/* HTMX indicator styles */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline;
}

.htmx-request.htmx-indicator {
    display: inline;
}

/* Spinner animation */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Utility classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.d-none {
    display: none !important;
}

/* Drag and drop styles */
.drag-over {
    background-color: rgba(0, 123, 255, 0.1);
    border: 2px dashed #007bff;
}

.upload-zone {
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* File selection styles */
.selected-file-item {
    transition: all 0.2s ease;
}

.selected-file-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-item {
    margin: 0 0.5rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.navbar-nav .nav-link.active {
    background-color: #0d6efd;
    color: white;
}

.navbar-text {
    margin-left: auto;
}

.nav-tabs {
    overflow-y: hidden !important;
}
.nav-tabs .nav-link {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .progress-steps-container {
        padding: 0.5rem 0.25rem;
        overflow-x: auto;
        gap: 0.5rem;
    }
    .progress-step {
        min-width: 80px;
    }
    .progress-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    .progress-step-label {
        font-size: 0.7rem;
    }
} 

.progress {
    position: relative;
    height: 18px;
}
.progress-percent {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #111;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         0px  2px 0 #fff,
         2px  0px 0 #fff,
        -2px  0px 0 #fff,
         0px -2px 0 #fff;
    font-size: 1rem;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
    line-height: 1;
}
.progress-bar {
    position: relative;
    height: 100%;
} 
