/* EasyEmployHR Theme Styles */

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Card Styles */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border: 1px solid #cbd5e1;
}

/* Enhanced Navigation Styles */
.nav-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    backdrop-filter: blur(10px);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, #3B82F6, #1E40AF);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Login Button */
.login-btn {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Mobile Menu Enhanced */
.mobile-menu-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

/* Logout Notification Animation */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out;
}

/* ========================================
   Password Reset Success Page Styles
   ======================================== */

/* Bounce Animation for Success Icon */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 1s ease-in-out 3;
}

/* ========================================
   HR Management Settings Styles
   ======================================== */

/* Primary Theme Colors */
.bg-primary {
    background-color: #3b82f6 !important;
}

.text-primary {
    color: #3b82f6 !important;
}

.hover\:bg-secondary:hover {
    background-color: #1e40af !important;
}

/* Settings Card Hover Effect */
.settings-card {
    transition: all 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Department Card Hover Effect */
.department-card {
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Document Category Card Hover Effect */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Leave Type Card Hover Effect */
.leave-type-card {
    transition: all 0.3s ease;
}

.leave-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Company Profile Image Preview */
.profile-image-preview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e5e7eb;
}

/* Upload Area Hover Effect */
.upload-area {
    transition: all 0.3s ease;
}

.upload-area:hover {
    background-color: #f3f4f6;
}

/* ========================================
   HR Management Leave Management Styles
   ======================================== */

/* Profile Header Gradient */
.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Leave Card Hover Effect */
.leave-card {
    transition: all 0.3s ease;
}

.leave-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Info Card Hover Effect */
.info-card {
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Status Message Animation */
.status-message {
    animation: slideIn 0.5s ease-out;
}

/* ========================================
   HR Management Document Management Styles
   ======================================== */

/* Contract Card Hover Effect (used for document cards) */
.contract-card {
    transition: all 0.3s ease;
}

.contract-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* File Upload Box */
.file-upload-box {
    border: 2px dashed #cbd5e0;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.file-upload-box:hover {
    border-color: #3b82f6;
    background: #ebf8ff;
}

.file-upload-box.drag-over {
    border-color: #3b82f6;
    background: #ebf8ff;
    transform: scale(1.02);
}

/* Document Viewer */
.document-viewer {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    max-height: 800px;
    overflow-y: auto;
}

/* Status Badge */
.status-badge {
    transition: all 0.3s ease;
}

/* Download Button */
.download-button {
    transition: all 0.3s ease;
}

.download-button:hover {
    transform: translateY(-1px);
}

/* Focus Ring Primary */
.focus\:ring-primary:focus {
    ring-color: #3b82f6 !important;
}

/* ========================================
   HR Management Dashboard Styles
   ======================================== */

/* Stat Cards with Gradients */
.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stat-card-orange {
    background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
}

.stat-card-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hover Text Secondary */
.hover\:text-secondary:hover {
    color: #1e40af !important;
}

/* ========================================
   HR Management Contract Management Styles
   ======================================== */

/* Demo Banner Animation */
.demo-banner {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 500% 500%;
    animation: rainbow 5s ease infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Template Card */
.template-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.template-card.selected {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Feature List Scrollable */
.feature-list {
    max-height: 120px;
    overflow-y: auto;
}

/* ========================================
   HR Management Employee Management Styles
   ======================================== */

/* Employee Card Hover Effect */
.employee-card {
    transition: all 0.3s ease;
}

.employee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Form Section Hover Effect */
.form-section {
    transition: all 0.3s ease;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* ========================================
   Contract Management Additional Styles
   ======================================== */

/* Contract Document Viewer */
.contract-document {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: pre-wrap;
    font-family: 'Times New Roman', serif;
    max-height: 600px;
    overflow-y: auto;
}

/* Signature Pad */
.signature-pad {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    background: #f9fafb;
    cursor: crosshair;
    touch-action: none;
}

.signature-pad.signed {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Signature Controls */
.signature-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Signature Section Background */
.signature-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

/* Signature Display */
.signature-display {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #f9fafb;
    padding: 1rem;
}

/* Signature Image */
.signature-image {
    max-height: 80px;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

/* Print Button Hover */
.print-button {
    transition: all 0.3s ease;
}

.print-button:hover {
    transform: translateY(-1px);
}

/* Document Viewer (for ViewDocument page) */
.document-viewer {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    font-size: 0.875rem;
    line-height: 1.8;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    max-height: 70vh;
    overflow-y: auto;
}

/* Print Media Query */
.print-hidden {
    display: block;
}

@media print {
    .print-hidden {
        display: none !important;
    }
    
    .document-viewer {
        max-height: none;
        border: none;
        padding: 1rem;
    }
}

/* ========================================
   HR Management Reports Styles
   ======================================== */

/* Report Module Hover Effect */
.report-module {
    transition: all 0.3s ease;
}

.report-module:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Report Card Hover Effect */
.report-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Filter Section Hover Effect */
.filter-section {
    transition: all 0.3s ease;
}

.filter-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Preview Table Styles */
.preview-table {
    font-size: 0.85rem;
}

.preview-table th,
.preview-table td {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
}

.preview-table th {
    background-color: #f9fafb;
    font-weight: 600;
}

/* Stats Grid for Reports */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

