/* Admin Panel Styles */
:root {
    --primary-color: #0076D6;
    --secondary-color: #00A1E0;
    --success-color: #04844B;
    --warning-color: #FFB75D;
    --danger-color: #DC3545;
    --dark-color: #2A3F54;
    --light-color: #F5F7FA;
    --text-color: #333;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
    --gold-color: #FFD700;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    transition: width 0.3s ease, padding 0.3s ease;
    width: 250px;
    background-color: var(--dark-color);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar.collapsed {
    width: 60px;
    overflow: visible;
}

.main-content {
    transition: margin-left 0.3s ease;
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.main-content.expanded {
    margin-left: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 0;
        padding: 0;
        overflow: hidden;
    }
    
    .sidebar.open {
        width: 250px;
        padding: 15px 0;
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Logo */
.logo {
    padding: 20px 15px;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.logo a {
    color: white;
    text-decoration: none;
}

/* Sidebar Collapse Styling */
.sidebar.collapsed .logo a {
    display: none;
}

.sidebar.collapsed .logo:before {
    content: "SF";
    font-weight: bold;
    font-size: 18px;
    display: block;
    text-align: center;
}

/* Admin Profile */
.admin-profile {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.admin-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0; /* Prevent image from shrinking */
}

.admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-info h3 {
    font-size: 14px;
    margin-bottom: 2px;
}

.admin-info p {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

/* Adjust profile section when sidebar is collapsed */
.sidebar.collapsed .admin-profile {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.sidebar.collapsed .admin-info,
.sidebar.collapsed .date-time-display,
.sidebar.collapsed .admin-profile p {
    display: none;
}

.sidebar.collapsed .admin-avatar {
    margin: 0 auto;
    /* Keep the same size when collapsed */
    width: 80px;
    height: 80px;
}

/* Navigation */
.admin-nav {
    padding: 15px 0;
}

.admin-nav ul {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 0; /* Remove the existing margin */
}

.admin-nav a {
    display: block;
    padding: 6px 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    font-size: 15px;
}

.admin-nav a:hover, .admin-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.admin-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Style menu items when sidebar is collapsed */
.sidebar.collapsed .admin-nav a span {
    display: none;
}

.sidebar.collapsed .admin-nav a i {
    margin-right: 0;
    font-size: 18px;
    width: 100%;
    text-align: center;
}

/* Position menu text on hover when collapsed */
.sidebar.collapsed .admin-nav a {
    position: relative;
}

.sidebar.collapsed .admin-nav a:hover:after {
    content: attr(data-title);
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--dark-color);
    color: white;
    padding: 6px 10px;
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    z-index: 1002;
}

/* Add collapse button */
.sidebar-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1001;
}

.sidebar.collapsed .sidebar-toggle {
    right: -15px;
    background-color: var(--dark-color);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.sidebar-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Improved style for date-time display */
.date-time-display {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
    font-weight: normal;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    text-align: center;
    margin-top: 5px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--gray-color);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* This pushes the elements to the right */
}

.btn-secondary {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 14px;
}

.btn-secondary:hover {
    background-color: #0082b3;
    text-decoration: none;
    color: white;
}

.btn-secondary i {
    margin-right: 5px;
}

/* Admin Dropdown */
.admin-dropdown {
    position: relative;
}

.admin-dropdown-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
}

.admin-dropdown-btn img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.admin-dropdown-btn i {
    margin-left: 5px;
    font-size: 12px;
}

.admin-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 200px;
    display: none;
    z-index: 1000;
}

.admin-dropdown-content.show {
    display: block;
}

.admin-dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    transition: background 0.3s;
}

.admin-dropdown-content a:hover {
    background-color: var(--light-color);
    text-decoration: none;
}

.admin-dropdown-content a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Content Header */
.content-header {
    margin-bottom: 25px;
}

.content-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.content-header p {
    color: var(--gray-color);
    font-size: 14px;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    opacity: 1;
    transition: opacity 0.5s;
}

.alert-success {
    background-color: rgba(4, 132, 75, 0.1);
    color: var(--success-color);
}

.alert-error, .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(255, 183, 93, 0.1);
    color: #856404;
}

.alert-info {
    background-color: rgba(0, 161, 224, 0.1);
    color: var(--secondary-color);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    margin-top: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.1s;
}

.btn:hover {
    text-decoration: none;
    background-color: #0056a6;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0056a6;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #bd2130;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    color: var(--gray-color);
    transition: all 0.3s;
}

.btn-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-link {
    color: var(--primary-color);
    background: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
}

.btn-link:hover {
    text-decoration: underline;
    background: none;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--gray-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Message status indicators */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.read {
    background-color: var(--gray-color);
}

.status-indicator.unread {
    background-color: var(--gold-color);
    /*background-color: var(--primary-color);*/
}

tr.unread {
    font-weight: 600;
    background-color: rgba(0, 118, 214, 0.03);
}

/* Cards */
.card {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.card-header h2, .card-header h3 {
    margin-bottom: 0;
    font-size: 18px;
    color: var(--dark-color);
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background-color: #f8f9fa;
    text-align: right;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
}

/* Dashboard Styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-card {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.stat-card {
    background-color: white;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: rgba(0, 118, 214, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 22px;
    color: var(--primary-color);
}

.stat-details {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-color);
}

.stat-link {
    margin-left: auto;
    font-size: 13px;
    color: var(--primary-color);
}

/* Messages List */
.message-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.message-stat-card {
    background-color: white;
    border-radius: 6px;
    padding: 20px;
    flex: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.message-list {
    max-height: 500px;
    overflow-y: auto;
}

.message-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.message-item:last-child {
    border-bottom: none;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-header h3 {
    font-size: 15px;
    margin-bottom: 0;
}

.message-date {
    font-size: 12px;
    color: var(--gray-color);
}

.message-subject {
    margin-bottom: 8px;
    color: var(--gray-color);
}

.message-actions {
    display: flex;
    gap: 10px;
}

/* Settings Styles */
.settings-section {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.settings-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Message View Styles */
.message-info {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.info-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.info-group label {
    width: 100px;
    font-weight: 600;
    margin-bottom: 0;
}

.message-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.message-text {
    line-height: 1.7;
}

.message-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    color: var(--gray-color);
    font-size: 13px;
}

.message-status {
    display: inline-flex;
    align-items: center;
}

.message-status i {
    margin-right: 5px;
}

.message-status.read {
    color: var(--gray-color);
}

.message-status.unread {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--gray-color);
    font-size: 13px;
    text-align: center;
}

/* Empty States */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--gray-color);
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* Action Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.action-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
}

.action-item:hover {
    background-color: rgba(0, 118, 214, 0.05);
    text-decoration: none;
    transform: translateY(-3px);
}

.action-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.action-item span {
    font-size: 13px;
    color: var(--text-color);
}

/* Profile Image Upload */
.profile-image-upload {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.current-profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.current-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-input {
    flex: 1;
}

/* Image Upload Container */
.image-upload-container {
    margin-bottom: 15px;
}

.current-image {
    margin-bottom: 10px;
    max-width: 300px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.current-image img {
    width: 100%;
    height: auto;
    display: block;
}

.no-image {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 10px;
}

/* Color Picker */
.color-picker {
    width: 100px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .form-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.form-section {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-desc {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 13px;
}

.required {
    color: var(--danger-color);
}

.form-text {
    display: block;
    margin-top: 5px;
    color: var(--gray-color);
    font-size: 12px;
}

/* Thumbnail */
.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.no-image {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
}

/* Content Wrapper */
.content-wrapper {
    padding-bottom: 30px;
}

/* Resume Management Styles */
.resume-tabs {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-color);
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.tab-btn:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tab-header h2 {
    margin-bottom: 0;
    font-size: 18px;
}

.section-item, .education-item, .certification-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
}

.section-header, .education-header, .certification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-header h3, .education-header h3, .certification-header h3 {
    margin-bottom: 0;
    font-size: 16px;
}

.section-actions, .education-actions, .certification-actions {
    display: flex;
    gap: 10px;
}

.section-body, .education-body, .certification-body {
    color: var(--text-color);
}

.section-body p, .education-body p, .certification-body p {
    margin-bottom: 5px;
}

.content-preview {
    margin-top: 10px;
    max-height: 120px;
    overflow-y: auto;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 13px;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.skills-category {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
}

.skills-category h4 {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--primary-color);
}

.skills-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 5px;
    max-height: 150px;
    overflow-y: auto;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 13px;
}

.checkbox-label input {
    margin-right: 5px;
}

.selected-skills {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.selected-skills h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.selected-skills-section {
    margin-bottom: 20px;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-color);
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.file-input-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-bottom: 5px;
}

.file-input-container input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    cursor: pointer;
    display: block;
}

.file-input-label {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

#file-name-display {
    display: inline-block;
    font-size: 13px;
    color: var(--gray-color);
}

.current-image {
    margin: 10px 0;
}

.current-image img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.skill-preview {
    margin-top: 10px;
}

.skill-progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.skill-progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.skill-level {
    font-size: 13px;
    color: var(--gray-color);
}

.range-preview {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.range-preview .skill-progress {
    flex: 1;
    margin-bottom: 0;
    margin-right: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .skills-categories, .skills-checkboxes {
        grid-template-columns: 1fr;
    }
}