@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #4f46e5;
    --primary-light: #eef2ff;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    background-color: #f3f4f6;
    color: var(--dark-color);
    line-height: 1.5;
}

.page {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
}

.sidebar.collapsed .logo-text {
    display: none;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.nav-scrollable {
    padding: 0 1rem;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--gray-color);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content */
main {
    flex: 1;
    transition: margin-left 0.3s ease;
}

.main-content {
    padding: 2rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 1.875rem;
    font-weight: 700;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stat-title {
    font-size: 0.875rem;
    color: var(--gray-color);
    font-weight: 500;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-change {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--secondary-color);
}

.stat-change i {
    margin-right: 4px;
}

/* Upload Section */
.upload-section {
    margin-bottom: 2rem;
}

.upload-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.upload-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.upload-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.upload-header p {
    color: var(--gray-color);
    font-size: 0.875rem;
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-zone:hover,
.upload-zone.dragging {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upload-subtext {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.upload-formats {
    color: var(--gray-color);
    font-size: 0.75rem;
}

.processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Tables Section */
.tables-section {
    display: grid;
    gap: 1.5rem;
}

.table-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.table-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: var(--light-color);
}

.data-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-color);
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.data-table tbody tr:hover {
    background-color: var(--light-color);
}

.candidate-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.candidate-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.candidate-name {
    font-weight: 500;
}

.status {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status.completed {
    background-color: #d1fae5;
    color: #065f46;
}

.status.processing {
    background-color: #fef3c7;
    color: #92400e;
}

.status.pending {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Responsive */
@media (max-width: 768px) {
    .page {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        padding: 1rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }
}

.navbar-toggler {
    display: none;
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }
}

/* Sidebar Aprimorado */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .navbar-brand span,
.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .navbar-brand,
.sidebar.collapsed .nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    white-space: nowrap;
    overflow: hidden;
}

.collapsed .logo-text {
    display: none;
}

.toggle-btn {
    background: var(--primary-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s;
    flex-shrink: 0;
}

.toggle-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.nav-menu {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    color: var(--gray-color);
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.nav-link:hover {
    background: linear-gradient(90deg, var(--primary-light) 0%, transparent 100%);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.nav-link:hover::before {
    transform: scaleY(1);
}

.nav-link.active {
    background: linear-gradient(90deg, var(--primary-light) 0%, rgba(79, 70, 229, 0.05) 100%);
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 1.5rem;
}

.nav-link.active::before {
    transform: scaleY(1);
}

.nav-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.nav-link span {
    white-space: nowrap;
    overflow: hidden;
}

.collapsed .nav-link {
    justify-content: center;
    padding: 0.875rem;
}

.collapsed .nav-link span {
    display: none;
}

.collapsed .nav-link:hover,
.collapsed .nav-link.active {
    padding-left: 0.875rem;
}

/* Ajuste no main quando sidebar colapsa */
@media (min-width: 769px) {
    .page {
        display: flex;
    }
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.header-subtitle {
    color: var(--gray-color);
    font-size: 0.875rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: #3730a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.4);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-modern {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon-wrapper.blue {
    background: #dbeafe;
    color: #1e40af;
}

.stat-icon-wrapper.green {
    background: #d1fae5;
    color: #065f46;
}

.stat-icon-wrapper.yellow {
    background: #fef3c7;
    color: #92400e;
}

/* Profiles Container */
.profiles-container {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    overflow: visible;
}

.search-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    position: relative;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.search-box input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Modern Table */
.table-wrapper {
    overflow-y: visible;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table thead {
    background: var(--light-color);
}

.modern-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-table th i {
    margin-left: 0.25rem;
    font-size: 0.625rem;
    opacity: 0.5;
}

.modern-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    position: relative;
}

.modern-table tbody tr:hover {
    background: var(--light-color);
}

.checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    color: var(--dark-color);
}

.user-id {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-color);
    transition: all 0.3s;
}

.btn-close:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

.modal-body {
    padding: 2rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--light-color);
}

.upload-area:hover,
.upload-area.dragging {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.upload-icon-large {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.file-types {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.progress-section {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.progress-text {
    text-align: center;
    color: var(--gray-color);
    font-size: 0.875rem;
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Action Menu */
.action-menu-wrapper {
    position: relative;
}

.action-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Sombra maior */
    z-index: 1000; /* z-index alto */
    min-width: 150px;
    margin-top: 0.25rem;
    overflow: hidden;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.action-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    color: var(--dark-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.action-menu-item:hover {
    background: var(--light-color);
}

.action-menu-item.danger {
    color: var(--danger-color);
}

.action-menu-item.danger:hover {
    background: #fee2e2;
}

/* Confirmation Modal */
.confirm-modal {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.confirm-icon.danger {
    background: #fee2e2;
    color: var(--danger-color);
}

.confirm-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.confirm-modal p {
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.warning-text {
    font-size: 0.875rem;
    color: var(--danger-color);
    margin-bottom: 1.5rem !important;
}

.confirm-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}


.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Profile Detail Page */
.btn-back {
    background: none;
    border: none;
    color: var(--gray-color);
    font-size: 0.875rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-back:hover {
    color: var(--primary-color);
}

.profile-header-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.profile-header-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-subtitle {
    color: var(--gray-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge-pill {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.badge-pill.success {
    background: #d1fae5;
    color: #065f46;
}

.badge-pill.warning {
    background: #fef3c7;
    color: #92400e;
}

.profile-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
    font-size: 0.875rem;
}

.contact-item i {
    color: var(--primary-color);
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.info-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 0.875rem;
    color: var(--dark-color);
    padding: 0.625rem;
    background: var(--light-color);
    border-radius: 0.375rem;
}

/* Experience & Education */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.experience-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.experience-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.experience-details .company {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.experience-details .period {
    color: var(--gray-color);
    font-size: 0.75rem;
}

/* Skills */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--dark-color);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.action-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.action-btn.danger:hover {
    background: #fee2e2;
    border-color: var(--danger-color);
    color: var(--danger-color);
}

/* System Info */
.system-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.system-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 0.375rem;
}

.system-info-item .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-color);
    text-transform: uppercase;
}

.system-info-item .value {
    font-size: 0.875rem;
    color: var(--dark-color);
    font-weight: 500;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content .spinner {
    margin: 0 auto 1rem;
}

.loading-content p {
    font-size: 1rem;
    font-weight: 500;
}

.stat-icon-wrapper.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.top-skills {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.skill-badge {
    padding: 0.375rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.floating-action-bar {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 100;
    animation: slideUp 0.3s ease;
}

.selection-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark-color);
    font-weight: 500;
}

.selection-info i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.btn-delete-selected {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-delete-selected:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.search-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.skills-filter-wrapper {
    position: relative;
}

.btn-filter {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-filter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-filter.active {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.skills-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    width: 300px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.2s ease;
}

.skills-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.skills-search {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.skills-search:focus {
    outline: none;
    border-color: var(--primary-color);
}

.skills-list-dropdown {
    overflow-y: auto;
    max-height: 250px;
    padding: 0.5rem;
}

.skill-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.skill-checkbox-item:hover {
    background: var(--light-color);
}

.skill-checkbox-item input[type="checkbox"] {
    cursor: pointer;
}

.skill-checkbox-item span {
    font-size: 0.875rem;
    color: var(--dark-color);
}

.no-skills {
    padding: 2rem;
    text-align: center;
    color: var(--gray-color);
    font-size: 0.875rem;
}

.skills-dropdown-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-clear-filters {
    width: 100%;
    padding: 0.5rem;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    color: var(--gray-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear-filters:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

.modal-container-large {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 700px;
    animation: slideUp 0.3s ease;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.toast-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 6.7s forwards;
}

.toast-notification.success {
    border-left: 4px solid var(--secondary-color);
}

.toast-notification i {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.toast-notification span {
    font-weight: 500;
    color: var(--dark-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(400px);
    }
}

.toast-notification.info {
    border-left: 4px solid var(--info-color);
}

.toast-notification.info i {
    color: var(--info-color);
}

.section-description {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.observations-content {
    padding: 1rem;
    background: var(--light-color);
    border-radius: 0.5rem;
    white-space: pre-wrap;
    line-height: 1.6;
}

.no-data {
    text-align: center;
    padding: 2rem;
    color: var(--gray-color);
    font-style: italic;
}

.info-value-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem;
    background: var(--light-color);
    border-radius: 0.375rem;
}

.action-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
}

.action-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.action-icon.whatsapp {
    background: #25D366;
}

.action-icon.whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Experience Section */
.experience-section {
    margin-bottom: 2rem;
}

.experience-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.exp-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s;
}

.exp-card.estagiario::before {
    background: linear-gradient(90deg, #818cf8, #6366f1);
}

.exp-card.junior::before {
    background: linear-gradient(90deg, #34d399, #10b981);
}

.exp-card.pleno::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.exp-card.senior::before {
    background: linear-gradient(90deg, #f87171, #ef4444);
}

.exp-card.especialista::before {
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

.exp-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    transition: all 0.3s;
}

.exp-card.estagiario .exp-icon {
    background: linear-gradient(135deg, #818cf8, #6366f1);
}

.exp-card.junior .exp-icon {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.exp-card.pleno .exp-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.exp-card.senior .exp-icon {
    background: linear-gradient(135deg, #f87171, #ef4444);
}

.exp-card.especialista .exp-icon {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.exp-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.exp-level {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
}

.exp-range {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.exp-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.exp-card:hover .exp-icon {
    transform: rotate(10deg) scale(1.1);
}

@media (max-width: 768px) {
    .experience-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .experience-cards {
        grid-template-columns: 1fr;
    }
}

.filters-group {
    display: flex;
    gap: 0.75rem;
}

.level-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.level-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.level-icon.estagiario {
    background: linear-gradient(135deg, #818cf8, #6366f1);
}

.level-icon.junior {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.level-icon.pleno {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.level-icon.senior {
    background: linear-gradient(135deg, #f87171, #ef4444);
}

.level-icon.especialista {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.btn-clear-all {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-clear-all:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-clear-all i {
    font-size: 1rem;
}

/* Pipeline */
.pipeline-container {
    padding: 2rem;
    min-height: 100vh;
    overflow: visible;
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.pipeline-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
}

/* Kanban Board */
.kanban-board {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: visible;
    flex: 1;
    padding-bottom: 2rem;
}

.kanban-column {
    min-width: 300px;
    background: white;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    overflow: visible;
    height: auto;
}

.column-header {
    padding: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-color);
}

.column-title i {
    color: var(--primary-color);
}

.column-count {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.column-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
    height: auto;
    max-height: none;
    min-height: 300px;
    position: relative;
}

.kanban-card.dragging {
    opacity: 0.5;
}

.kanban-card.dragging ~ .kanban-card {
    pointer-events: none;
}

.column-body.drag-over * {
    pointer-events: none;
}

.kanban-card.dragging {
    pointer-events: auto;
}

/* Kanban Card */
.kanban-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    pointer-events: auto;
    cursor: move;
    opacity: 1 !important;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.kanban-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    background-color: rgba(240, 248, 255, 0.34);
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    margin-top: 10px;
}

.card-menu {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    padding: 0.25rem;
}

.card-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.experience {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.skill-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-urgent {
    background: #fee2e2;
    color: #dc2626;
}

.tag-warning {
    background: #fef3c7;
    color: #d97706;
}

.tag-success {
    background: #d1fae5;
    color: #059669;
}

.tag-default {
    background: #e5e7eb;
    color: #6b7280;
}

.kanban-card.dragging {
    cursor: grabbing;
}

.column-body.drag-over {
    background: var(--primary-light);
    border: 2px dashed var(--primary-color);
    border-radius: 0.5rem;
}

.kanban-card {
    cursor: grab;
    position: relative;
    z-index: auto;
}

.kanban-card:active {
    cursor: grabbing;
}

.card-header {
    position: relative;
    z-index: 1;
}

.card-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 160px;
    margin-top: 0.5rem;
}

.dropdown-item {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--light-color);
}

.dropdown-item.danger {
    color: var(--danger-color);
}

.dropdown-item i {
    width: 16px;
}

.tag-modal {
    background: white;
    border-radius: 0.75rem;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.tag-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tag-option {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.tag-option:hover {
    transform: scale(1.05);
}

.custom-tag-input {
    display: flex;
    gap: 0.75rem;
}

.custom-tag-input input {
    flex: 1;
    padding: 0.625rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
}

.tag-remove {
    background: none;
    border: none;
    color: currentColor;
    opacity: 0.6;
    cursor: pointer;
    padding: 0 0.25rem;
    margin-left: 0.25rem;
}

.tag-remove:hover {
    opacity: 1;
}

.pipeline-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pipeline-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.vaga-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vaga-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.vaga-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vaga-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-aberta {
    background: #d1fae5;
    color: #059669;
}

.status-fechada {
    background: #fee2e2;
    color: #dc2626;
}

.vaga-descricao {
    color: var(--gray-color);
    font-size: 0.875rem;
    line-height: 1.5;
}

.vaga-info {
    display: flex;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.vaga-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-full {
    width: 100%;
}

.vagas-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    margin-left: 0.5rem;
    z-index: 1001;
}

.vaga-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.vaga-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.match-high {
    background: #d1fae5;
    color: #059669;
}

.match-medium {
    background: #fef3c7;
    color: #d97706;
}

.match-low {
    background: #fee2e2;
    color: #dc2626;
}

.vagas-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.vaga-item {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vaga-item:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
}

.vaga-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.vaga-item p {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin: 0;
}

.no-vagas {
    text-align: center;
    padding: 2rem;
    color: var(--gray-color);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.candidatos-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.candidato-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.candidato-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.candidato-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.candidato-info h3 {
    margin: 0;
    font-size: 1.125rem;
}

.candidato-info p {
    margin: 0;
    color: var(--gray-color);
    font-size: 0.875rem;
}

.match-score {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    min-width: 80px;
}

.match-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.match-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.candidato-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
    font-size: 0.875rem;
}

.candidato-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.candidato-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-danger-outline {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--danger-color);
    background: white;
    color: var(--danger-color);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger-outline:hover {
    background: var(--danger-color);
    color: white;
}

.vaga-filter {
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
    cursor: pointer;
    min-width: 200px;
}

.vaga-filter:focus {
    outline: none;
    border-color: var(--primary-color);
}

.top-matches-section {
    margin-bottom: 2rem;
}

.top-matches-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.match-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.match-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.match-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.match-item:hover {
    background: var(--light-color);
}

.match-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.candidate-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.match-info strong {
    display: block;
    font-size: 0.875rem;
}

.match-info span {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.match-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.875rem;
}

.empty-matches {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-color);
}

.empty-matches i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.form-group-check label {
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--gray-color);
    font-size: 0.875rem;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.user-section {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.user-details strong {
    font-size: 0.875rem;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-details span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 0.5rem;
    color: #fca5a5;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-logout:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
    color: #fef2f2;
}

.sidebar.collapsed .user-info {
    justify-content: center;
}

.sidebar.collapsed .user-details {
    display: none;
}

.sidebar.collapsed .btn-logout span {
    display: none;
}

.sidebar.collapsed .btn-logout {
    padding: 0.625rem;
}

.toast-notification {
    position: fixed !important;
    bottom: 1rem !important;
    right: 1rem !important;
    background: linear-gradient(135deg, rgba(0, 255, 171, 0.49) 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: slideIn 0.3s ease;
    z-index: 10000;
    max-width: 400px !important;
    width: auto !important;
    min-width: 200px;
    height: auto !important;
    max-height: 80px;
}

.toast-notification i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-notification span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   SUBSCRIPTION STYLES
   ============================================ */

/* Plans Page */
.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.plans-header {
    text-align: center;
    margin-bottom: 3rem;
}

.plans-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plans-header p {
    font-size: 1.125rem;
    color: var(--gray-color);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.plan-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.plan-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--light-color);
    color: var(--dark-color);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.plan-badge.popular {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
}

.plan-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 0.25rem;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--gray-color);
    margin-left: 0.5rem;
}

.plan-savings {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #dcfce7;
    color: #15803d;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.plan-trial {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: #10b981;
    font-size: 1.125rem;
}

.btn-plan {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-plan:hover {
    background: #1e40af;
    transform: scale(1.02);
}

.btn-plan.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
}

.plans-faq {
    max-width: 800px;
    margin: 0 auto;
}

.plans-faq h3 {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.faq-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.faq-item p {
    color: var(--gray-color);
    margin: 0;
}

/* Checkout Page */
.checkout-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.checkout-summary,
.checkout-payment {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.checkout-summary h2,
.checkout-payment h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-trial {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-weight: 600;
    font-size: 0.875rem;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.25rem;
}

.summary-total strong {
    font-weight: 700;
    color: var(--primary-color);
}

.summary-next {
    text-align: center;
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background: #eff6ff;
}

.payment-method i:first-child {
    font-size: 2rem;
    color: var(--primary-color);
}

.payment-method i.fa-check-circle {
    margin-left: auto;
    color: var(--primary-color);
}

.payment-method div {
    flex: 1;
}

.payment-method strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.payment-method span {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--gray-color);
    font-size: 0.875rem;
}

/* Manage Subscription */
.manage-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.manage-container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.no-subscription {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.no-subscription i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-subscription h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.subscription-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card,
.upgrade-card,
.actions-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.detail-card h2,
.actions-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.status-badge.status-trial {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-active {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.detail-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item span {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.info-item strong {
    font-size: 1rem;
    color: var(--dark-color);
}

.upgrade-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid var(--primary-color);
}

.upgrade-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.upgrade-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.upgrade-card p {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin: 0;
}

/* Subscription Banner */
.subscription-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-content i {
    font-size: 2rem;
    color: #d97706;
}

.banner-content strong {
    display: block;
    font-size: 1rem;
    color: #78350f;
}

.banner-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #92400e;
}

.btn-banner {
    padding: 0.625rem 1.5rem;
    background: #d97706;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-banner:hover {
    background: #b45309;
}

/* PRO Badge */
.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .detail-info {
        grid-template-columns: 1fr;
    }

    .subscription-banner {
        flex-direction: column;
        text-align: center;
    }
}

.nav-upgrade {
    margin: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid var(--primary-color);
    border-radius: 0.75rem;
    text-align: center;
}

.nav-upgrade i {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.nav-upgrade strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.nav-upgrade p {
    font-size: 0.75rem;
    color: var(--gray-color);
    margin: 0 0 0.75rem 0;
}

.btn-upgrade {
    width: 100%;
    padding: 0.625rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upgrade:hover {
    background: #1e40af;
}

/* ============================================
   SETTINGS PAGE
   ============================================ */

.settings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.settings-container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Tabs */
.settings-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--dark-color);
    background: var(--light-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn i {
    font-size: 1.125rem;
}

/* Settings Content */
.settings-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.settings-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.settings-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.875rem;
}

.form-group input.form-control {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.form-control:disabled {
    background: var(--light-color);
    cursor: not-allowed;
    color: var(--gray-color);
}

.form-group small {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Alerts */
.alert-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 0.5rem;
    color: #15803d;
    margin-bottom: 1.5rem;
}

.alert-error {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 0.5rem;
    color: #dc2626;
    margin-bottom: 1.5rem;
}

.alert-success i,
.alert-error i {
    font-size: 1.25rem;
}

/* No Subscription Card */
.no-subscription-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-color);
    border-radius: 0.75rem;
    border: 2px dashed var(--border-color);
}

.no-subscription-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-subscription-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.no-subscription-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Subscription Card */
.subscription-card {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 2px solid var(--border-color);
}

.subscription-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.subscription-price {
    text-align: right;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--gray-color);
}

.subscription-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
    font-size: 0.875rem;
}

.detail-label i {
    color: var(--primary-color);
}

.detail-value {
    font-weight: 600;
    color: var(--dark-color);
}

.subscription-actions {
    padding: 1.5rem;
    background: var(--light-color);
    border-top: 1px solid var(--border-color);
}

/* Status Badges (reutilizados) */
.status-badge.status-trial {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-active {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.status-badge.status-expired {
    background: #f3f4f6;
    color: #6b7280;
}

/* Payment History */
.payment-history {
    margin-top: 2rem;
}

.payment-history h3 {
    margin-bottom: 1rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.history-item:hover {
    box-shadow: var(--shadow);
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon.payment-paid {
    background: #dcfce7;
    color: #15803d;
}

.history-icon.payment-pending {
    background: #fef3c7;
    color: #92400e;
}

.history-icon.payment-failed {
    background: #fee2e2;
    color: #dc2626;
}

.history-icon i {
    font-size: 1.25rem;
}

.history-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.history-details strong {
    font-size: 1rem;
    color: var(--dark-color);
}

.history-details span {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.history-status {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.history-status.payment-paid {
    background: #dcfce7;
    color: #15803d;
}

.history-status.payment-pending {
    background: #fef3c7;
    color: #92400e;
}

.history-status.payment-failed {
    background: #fee2e2;
    color: #dc2626;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        white-space: nowrap;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .subscription-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .subscription-price {
        text-align: left;
    }

    .history-item {
        flex-wrap: wrap;
    }

    .history-status {
        width: 100%;
        text-align: center;
    }
}

.trial-payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
}

.trial-payment-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.trial-payment-content i {
    font-size: 2.5rem;
    color: #d97706;
}

.trial-payment-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 0.25rem;
}

.trial-payment-content p {
    font-size: 0.875rem;
    color: #92400e;
    margin: 0;
}

.trial-payment-card .btn-primary {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .trial-payment-card {
        flex-direction: column;
        text-align: center;
    }

    .trial-payment-card .btn-primary {
        width: 100%;
    }
}

.success-container {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.success-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-container p {
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.success-container .btn-primary {
    margin-top: 2rem;
}