/* ==========================================
   MOBILE RESPONSIVE UTILITIES
   Estilos base para responsividade
   ========================================== */

/* ===== OFFCANVAS MENU MOBILE ===== */
.offcanvas {
    background-color: #ffffff !important;
    width: 100% !important;
    max-width: 100%;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease-in-out !important;
}

.offcanvas.show {
    transform: translateX(0) !important;
}

.offcanvas-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    position: relative;
    z-index: 1040;
}

.offcanvas-title {
    color: white !important;
    font-weight: 600;
}

.offcanvas-body {
    background-color: #ffffff !important;
    padding: 1.5rem;
}

/* Links do menu mobile com hover */
.offcanvas-body a {
    color: #212529 !important;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem !important;
    margin-bottom: 0.25rem;
}

.offcanvas-body a:hover {
    background-color: #e7f1ff !important;
    color: #0056b3 !important;
    transform: translateX(2px);
}

.offcanvas-body a i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.offcanvas-body h6 {
    color: #6c757d;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===== JOB CARDS BASE STYLES ===== */
.job-logo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.job-logo-icon {
    font-size: 28px;
    color: var(--primary-color);
}

.job-title {
    line-height: 1.3;
    font-size: 1.1rem;
    color: var(--text-color);
}

.job-company {
    font-size: 0.95rem;
    color: #666;
}

.job-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== INPUT GROUP OPTIMIZATION ===== */
.input-group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    transition: all 0.2s ease;
}

.input-group .input-group-text {
    background-color: #f8f9fa;
    border: none;
    border-right: 1px solid #dee2e6;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    white-space: nowrap;
    cursor: default;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input-group > .form-control {
    border: none;
    padding: 10px 12px;
    flex: 1;
    background: white;
}

.input-group > .form-control:focus {
    outline: none;
    box-shadow: none;
    background: white;
}

.input-group:hover {
    border-color: #86b7fe;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ===== SOCIAL INPUT STYLING ===== */
.social-input {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    background: white;
    color: #212529;
    font-weight: 500;
}

.social-input::placeholder {
    font-family: var(--font-family);
    color: #aaa;
    font-style: italic;
    font-weight: normal;
}

.social-input:focus {
    color: var(--primary-color);
    font-weight: 600;
}

.input-group .social-input {
    padding-left: 8px;
}

/* ===== TEXT ALIGNMENT UTILITIES ===== */
.text-md-end {
    text-align: left;
}

.mb-md-0 {
    margin-bottom: 1rem;
}

/* ===== FORM UTILITIES ===== */
.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 0.9rem;
    min-height: 44px;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.form-control::placeholder {
    color: #999;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
    background-color: #fff;
}

/* ===== PRINT STYLES ===== */
@media (max-width: 768px) {
    .navbar-nav {
        display: none !important;
    }
    
    .offcanvas-body a {
        font-size: 0.9rem;
        padding: 0.5rem 0.5rem !important;
    }
    
    .offcanvas-backdrop {
        display: block !important;
        opacity: 0.5 !important;
    }
    
    /* Ocultar sidebar em mobile */
    .panel-sidebar {
        display: none !important;
    }
    
    .panel-content {
        padding: var(--space-6) var(--space-4) !important;
    }
}

@media (min-width: 992px) {
    .offcanvas {
        display: none !important;
    }
    
    .offcanvas-backdrop {
        display: none !important;
    }
}

@media print {
    .sidebar,
    .candidate-sidebar,
    .btn,
    .modal,
    .no-print {
        display: none;
    }
}

/* Media queries consolidadas em media-queries.css */
