/* Mentoring Matters - Main Stylesheet */
/* Primary Color: #28aae1 */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #28aae1;
    --primary-dark: #1e90d4;
    --primary-light: #5dc5f0;
    --secondary-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #ffffff;
    --border-color: #e9ecef;
    --text-color: #495057;
    --text-light: #6c757d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-6 { flex: 0 0 50%; }
.col-8 { flex: 0 0 66.666667%; }
.col-9 { flex: 0 0 75%; }
.col-12 { flex: 0 0 100%; }

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(40, 170, 225, 0.9), rgba(30, 144, 212, 0.9)),
                url('../images/auth-bg.jpg') center/cover;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 170, 225, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 45px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(40, 170, 225, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 170, 225, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #1e7e34);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #c82333);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Dashboard Layout */
.dashboard {
    min-height: 100vh;
    display: flex;
    background: #f8f9fa;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem 1.5rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar-brand {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-brand h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
}

/* Tab Navigation (Bubble Style) */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: white;
    padding: 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    margin: 0 5px;
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(40, 170, 225, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(40, 170, 225, 0.1);
    color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
}

/* Analytics Cards */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.analytics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.analytics-card:hover::before {
    opacity: 1;
}

.analytics-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.analytics-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Session Cards with Gradients */
.session-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.session-card:hover {
    transform: scale(1.02);
}

.session-card.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.session-card.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.session-card.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.session-card.gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.session-card.gradient-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.session-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.session-meta {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.session-description {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

/* Goal Items */
.goal-item {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.goal-item:hover {
    box-shadow: var(--shadow);
}

.goal-item.completed {
    background: #f8f9fa;
    border-left-color: var(--success-color);
    opacity: 0.8;
}

.goal-item.high-priority {
    border-left-color: var(--danger-color);
}

.goal-item.medium-priority {
    border-left-color: var(--warning-color);
}

/* Feedback Styles */
.feedback-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.feedback-mentor {
    border-left-color: #28a745;
}

.feedback-mentee {
    border-left-color: #ffc107;
}

.rating-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.star.empty {
    color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .tab-navigation {
        flex-direction: column;
        border-radius: var(--border-radius);
        max-width: 100%;
    }
    
    .tab-btn {
        margin: 2px 0;
        border-radius: var(--border-radius);
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
    }
    
    .auth-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .session-card {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }
.text-muted { color: var(--text-light); }

.bg-primary { background-color: var(--primary-color); }
.bg-light { background-color: var(--secondary-color); }
.bg-white { background-color: white; }

.border { border: 1px solid var(--border-color); }
.border-radius { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.notification.success {
    background: var(--success-color);
}

.notification.error {
    background: var(--danger-color);
}

.notification.warning {
    background: var(--warning-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Color Picker Styles */
.color-picker {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
}

.color-option {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: var(--primary-color);
}

.color-option:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.color-option.active {
    border-color: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 0 0 2px rgba(40, 170, 225, 0.3);
}

.color-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
}

/* Session Card Horizontal Layout */
.sessions-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.session-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.session-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.session-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.session-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.session-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.session-status.scheduled {
    background: #e3f2fd;
    color: #1976d2;
}

.session-status.in_progress {
    background: #fff3e0;
    color: #f57c00;
}

.session-status.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.session-status.cancelled {
    background: #ffebee;
    color: #d32f2f;
}

.session-goals {
    margin-top: 15px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.goal-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.goal-title {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.goal-priority {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.goal-priority.high {
    background: #ffebee;
    color: #d32f2f;
}

.goal-priority.medium {
    background: #fff3e0;
    color: #f57c00;
}

.goal-priority.low {
    background: #e8f5e8;
    color: #2e7d32;
}

.goal-status-select {
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    background: white;
}

.goal-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.goal-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.goal-actions .btn-primary {
    background: var(--primary-color);
    color: white;
}

.goal-actions .btn-secondary {
    background: var(--text-light);
    color: white;
}

/* Responsive Design for Sessions */
@media (max-width: 768px) {
    .session-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .session-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star:hover,
.star.active {
    color: #ffd700;
}

.star.hover {
    color: #ffed4a;
}

/* Feedback Cards */
.feedback-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.feedback-card .rating-stars {
    display: flex;
    gap: 2px;
}

.feedback-card .rating-stars .star {
    font-size: 16px;
    color: #ffd700;
}

.feedback-card .rating-stars .star.empty {
    color: #ddd;
}

.feedback-mentor {
    border-left-color: #28a745;
}

.feedback-mentee {
    border-left-color: #007bff;
}

.no-feedback {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Enhanced Session Design */
.session-card {
    border-radius: 15px;
    padding: 25px;
    margin: 15px 10px;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    min-width: 320px;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.session-card:hover::before {
    opacity: 1;
}

.session-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.session-card.selected {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    border: 3px solid rgba(255,255,255,0.4);
}

.session-header {
    position: relative;
    z-index: 2;
}

.session-info h4 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.session-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.95;
}

.session-description {
    margin-top: 15px;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Enhanced Goals Design */
.goal-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.goal-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.goal-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.goal-item:hover::before {
    width: 8px;
}

.goal-title {
    color: #2c3e50;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.goal-priority {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.goal-priority:hover {
    transform: scale(1.05);
}

.goal-status-select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
    background: white;
}

.goal-status-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 170, 225, 0.1);
}

/* Pairs Section */
.pairs-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.pairs-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pairs-card .card-body {
    padding: 20px;
}

.pairs-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pairs-actions .btn {
    min-width: auto;
    white-space: nowrap;
}

.pairs-actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Ensure buttons are clickable */
.btn {
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

/* Text alignment utilities */
.text-right {
    text-align: right;
}

.align-center {
    align-items: center;
}

/* Pair editing form */
.form-control-static {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    margin: 0;
    font-weight: 600;
    color: #495057;
}

.modal-content {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}