/* Additional Custom Styles for Meeting Notification System */

/* Star Rating Styles */
.star-rating {
    display: flex;
    gap: 4px;
}

.star-rating .star {
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 1.25rem;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #f59e0b;
}

.star-rating .star.hovered {
    color: #fbbf24;
}

/* File Upload Area Styles */
.file-upload-area {
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #2563eb;
    background-color: #f8fafc;
}

.file-upload-area.dragover {
    border-color: #2563eb;
    background-color: #eff6ff;
    transform: scale(1.02);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #2563eb;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: #10b981;
}

.toast.error {
    background-color: #ef4444;
}

.toast.warning {
    background-color: #f59e0b;
}

.toast.info {
    background-color: #3b82f6;
}

/* Card Hover Effects */
.participant-card,
.report-card {
    transition: all 0.3s ease;
}

.participant-card:hover,
.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.draft {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.submitted {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-badge.approved {
    background-color: #d1fae5;
    color: #065f46;
}

.status-badge.rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Department Color Coding */
.dept-tech { border-left-color: #3b82f6; }
.dept-marketing { border-left-color: #10b981; }
.dept-finance { border-left-color: #f59e0b; }
.dept-hr { border-left-color: #8b5cf6; }
.dept-management { border-left-color: #ef4444; }

/* Modal Animation */
.modal-enter {
    opacity: 0;
    transform: scale(0.95);
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 300ms, transform 300ms;
}

.modal-exit {
    opacity: 1;
    transform: scale(1);
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 300ms, transform 300ms;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2563eb;
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .grid-responsive {
        grid-template-columns: 1fr;
    }
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background-color: white;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
}

/* Step Navigation Styles */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background-color: #2563eb;
    color: white;
}

.step-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.step-item.active .step-text {
    color: #2563eb;
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e5e7eb;
    margin: 0 16px;
    margin-top: 24px;
}

.step-item.active ~ .step-item .step-line,
.step-item.active .step-line {
    background-color: #2563eb;
}

/* Step Content Styles */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Group Styles */
.participant-group {
    transition: all 0.3s ease;
}

.participant-group:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.supervisor-input-group {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1f2937;
        --bg-secondary: #374151;
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Button Hover Effects */
.btn-hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.btn-hover-shadow:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    transition: box-shadow 0.2s ease;
}

/* Form Input Focus Effects */
.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Meeting Status Colors */
.meeting-scheduled {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.meeting-ongoing {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.meeting-completed {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.meeting-cancelled {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}