/* Calendar Styles for EquipLog Pro */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=General+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #e30614;
    --secondary-color: #242424;
    --text-color: #242424;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "General Sans", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
}

/* Dashboard Styles */
.elp-dashboard {
    padding: 15px 30px;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
}

.elp-dashboard-header {
    margin-bottom: 40px;
    text-align: left;
}

.elp-dashboard-header h1 {
    margin: 0 0 10px 0;
    color: #242424;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
}

.elp-dashboard-header p {
    margin: 0;
    color: #666;
    font-size: 18px;
    font-family: 'General Sans', sans-serif;
}

/* Statistics Grid */
.elp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.elp-stat-card {
    background: #fff;
    padding: 15px 15px;
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.elp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.elp-stat-icon {
    width: 45px;
    height: 45px;
    background: rgb(227 6 20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.elp-stat-icon-img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.elp-stat-content h3 {
    margin: 0 0 5px 0;
    color: #242424;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
}

.elp-stat-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-family: 'General Sans', sans-serif;
}

/* Dashboard Sections */
.elp-dashboard-section {
    background: #fff;
   
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    padding: 30px;
}

.elp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.elp-section-header h2 {
    margin: 0;
    color: #242424;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
}

/* Recent Submissions Table */
.elp-recent-submissions-table {
    overflow-x: auto;
}

.elp-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    font-family: 'General Sans', sans-serif;
}

.elp-table thead {
    background: #f8f9fa;
}

.elp-table th {
    padding: 10px 0;
    text-align: left;
    font-weight: 600;
    color: #242424;
    font-size: 14px;
    border: none !important;
    border-bottom: 1px solid #e1e5e9 !important;
    font-family: 'Sora', sans-serif;
    background: #ffffff !important;
}

.elp-table td {
    padding:5px 0;
    border: none;
    border-bottom: 1px solid #e1e5e9;
    font-size: 14px;
    color: #242424;
    vertical-align: middle;
    background: #ffffff !important;
}

.elp-table tbody tr:hover {
    background: #ffffff !important;
}

.elp-link {
    color: #e30614;
    text-decoration: none !important;
    font-weight: 500;
    font-family: 'General Sans', sans-serif;
}

.elp-link:hover {
    text-decoration: underline;
}

.elp-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    color: #e30614;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.elp-btn-icon:hover {
    color: #c40511;
}

.elp-btn-icon svg {
    width: 16px;
    height: 16px;
}

/* Available Forms Grid */
.elp-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.elp-form-card {
    background: #fff;
    border: RGBA(0,0,0,0.03);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.elp-form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    
}

.elp-form-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.elp-form-title {
    margin: 0 0 10px 0;
    color: #242424;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
 
}

.elp-form-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'General Sans', sans-serif;
}

.elp-form-meta {
    color: #999;
    font-size: 12px;
    font-family: 'General Sans', sans-serif;
    margin-top: auto;
}

.elp-form-card-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 15px;
}

.elp-form-card-actions .elp-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
}

/* Modal Styles */
.elp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.elp-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border: 2px solid #e1e5e9;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.elp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e1e5e9;
    background: #f8f9fa;
}

.elp-modal-header h3 {
    margin: 0;
    color: #242424;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
}

.elp-modal-close {
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.elp-modal-close:hover {
    color: #e30614;
}

.elp-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.elp-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-family: 'General Sans', sans-serif;
}

.elp-error {
    text-align: center;
    padding: 40px;
    color: #e30614;
    font-family: 'General Sans', sans-serif;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 0;
}

/* Submission Details Styles */
.elp-submission-details {
    font-family: 'General Sans', sans-serif;
}

.elp-submission-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.elp-submission-title {
    font-size: 18px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 10px;
    font-family: 'Sora', sans-serif;
}

.elp-submission-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.elp-submission-fields {
    display: grid;
    gap: 20px;
}

.elp-field-group {
    border: 1px solid #e1e5e9;
    padding: 20px;
    background: #f8f9fa;
}

.elp-field-label {
    font-weight: 600;
    color: #242424;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
}

.elp-field-value {
    color: #242424;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'General Sans', sans-serif;
}

/* Empty State */
.elp-empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
    font-family: 'General Sans', sans-serif;
}

.elp-empty-state p {
    margin: 0;
    font-size: 16px;
}

/* Quick Actions */
.elp-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.elp-action-card {
    background: #fff;
    padding: 15px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.elp-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    
    text-decoration: none !important;
    color: inherit;
}

.elp-action-icon {
    width: 45px;
    height: 45px;
    background: #e30614 ;
    border-radius:50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.elp-action-icon-img {
    width: 15px;
    height: 17px;
    object-fit: contain;
}

.elp-action-card h3 {
    margin: 0 0 10px 0;
    color: #242424;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
}

.elp-action-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'General Sans', sans-serif;
}

/* Button Styles */
.elp-btn {
    padding: 12px 24px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    font-family: "General Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.elp-btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.elp-btn-primary:hover {
    background: #c40511;
    color: #fff;
}

.elp-btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.elp-btn-secondary:hover {
    background: #1a1a1a;
    color: #fff;
}

.elp-btn-danger {
    background: #dc3545;
    color: #fff;
}

.elp-btn-danger:hover {
    background: #c82333;
    color: #fff;
}

.elp-btn-info {
    background: #17a2b8;
    color: #fff;
}

.elp-btn-info:hover {
    background: #138496;
    color: #fff;
}

.elp-btn-success {
    background: #28a745;
    color: #fff;
}

.elp-btn-success:hover {
    background: #218838;
    color: #fff;
}

.elp-btn-warning {
    background: #ffc107;
    color: #212529;
}

.elp-btn-warning:hover {
    background: #e0a800;
    color: #212529;
}

/* Button with icons */
.elp-btn .elp-action-icon-img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Small buttons */
.elp-btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Large buttons */
.elp-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Disabled buttons */
.elp-btn:disabled,
.elp-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.elp-btn:disabled:hover,
.elp-btn.disabled:hover {
    background: inherit;
    color: inherit;
}

/* Pagination Styles */
.elp-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.elp-pagination-top {
    border-top: none;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.elp-pagination-bottom {
    margin-top: 20px;
}

.elp-pagination-info {
    color: #666;
    font-size: 14px;
}

.elp-pagination-links {
    display: flex;
    gap: 5px;
    align-items: center;
}

.elp-pagination-link {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.elp-pagination-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.elp-pagination-current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Filters Section for Staff Dashboard */
.elp-filters-section {
    background: #fff;
    padding: 25px;
    border: 2px solid var(--border-color);
    margin-bottom: 30px;
    border-radius: 0;
}

.elp-filters-form {
    margin: 0;
}

.elp-filters-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.elp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.elp-filter-group label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
    font-family: "Sora", sans-serif;
}

.elp-select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    font-size: 14px;
    font-family: "General Sans", sans-serif;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 0;
}

.elp-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 6, 20, 0.1);
}

.elp-filter-buttons {
    display: flex;
    gap: 15px;
}

.elp-export-buttons {
    display: flex;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .elp-dashboard {
        padding: 20px;
    }
    
    .elp-dashboard-header h1 {
        font-size: 24px;
    }
    
    .elp-dashboard-header p {
        font-size: 16px;
    }
    
    .elp-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .elp-stat-card {
        padding: 20px;
    }
    
    .elp-stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .elp-stat-icon-img {
        width: 25px;
        height: 25px;
    }
    
    .elp-stat-content h3 {
        font-size: 24px;
    }
    
    .elp-dashboard-section {
        padding: 20px;
    }
    
    .elp-section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .elp-quick-actions {
        grid-template-columns: 1fr;
    }
    
    .elp-action-card {
        padding: 20px;
    }
    
    .elp-forms-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .elp-form-card-content {
        padding: 20px;
    }
    
    .elp-form-card-actions {
        padding: 15px 20px;
    }
    
    .elp-table {
        font-size: 12px;
    }
    
    .elp-table th,
    .elp-table td {
        padding: 10px;
    }
    
    .elp-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .elp-modal-header {
        padding: 15px 20px;
    }
    
    .elp-modal-body {
        padding: 20px;
    }

    /* Responsive Design for Pagination */
    .elp-pagination {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .elp-pagination-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .elp-filters-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .elp-filter-group {
        min-width: auto;
    }
} 

/* Staff Management Styles */
.elp-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.elp-staff-card {
    background: #fff;
    border: 1px solid var(--elp-border);
    padding: 20px;
    transition: all 0.3s ease;
}

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

.elp-staff-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.elp-staff-avatar {
    display: flex;
    align-items: center;
}

.elp-staff-avatar img {
    border-radius: 50%;
    border: 2px solid var(--elp-border);
}

.elp-staff-status {
    display: flex;
    align-items: center;
}

.elp-staff-card-body {
    margin-bottom: 15px;
}

.elp-staff-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--elp-secondary);
    margin: 0 0 8px 0;
}

.elp-staff-email {
    color: var(--elp-text);
    margin: 0 0 5px 0;
    font-size: 14px;
}

.elp-staff-username {
    color: var(--elp-light-gray);
    margin: 0 0 5px 0;
    font-size: 14px;
}

.elp-staff-date {
    color: var(--elp-light-gray);
    margin: 0;
    font-size: 12px;
}

.elp-staff-card-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.elp-staff-card-actions .elp-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 8px 12px;
}

.elp-status {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.elp-status-active {
    background: var(--elp-success);
    color: white;
}

.elp-status-inactive {
    background: var(--elp-light-gray);
    color: var(--elp-text);
}

/* Empty State for Staff */
.elp-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid var(--elp-border);
}

.elp-empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.elp-empty-state h3 {
    color: var(--elp-secondary);
    margin: 0 0 10px 0;
    font-size: 20px;
}

.elp-empty-state p {
    color: var(--elp-light-gray);
    margin: 0;
    font-size: 14px;
} 

/* Form Management Styles */
.elp-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.elp-form-card {
    background: #fff;
    border: 1px solid var(--elp-border);
    padding: 20px;
    transition: all 0.3s ease;
}

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

.elp-form-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.elp-form-icon {
    display: flex;
    align-items: center;
}

.elp-form-icon-img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.elp-form-status {
    display: flex;
    align-items: center;
}

.elp-form-card-body {
    margin-bottom: 15px;
}

.elp-form-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--elp-secondary);
    margin: 0 0 8px 0;
}

.elp-form-description {
    color: var(--elp-text);
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.4;
}

.elp-form-meta {
    margin-bottom: 10px;
}

.elp-form-date {
    color: var(--elp-light-gray);
    margin: 0 0 3px 0;
    font-size: 12px;
}

.elp-form-card-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.elp-form-card-actions .elp-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 8px 12px;
}

/* Form Builder Styles */
.elp-form-section {
    background: #fff;
    border: 1px solid var(--elp-border);
    padding: 20px;
    margin-bottom: 20px;
}

.elp-form-section h3 {
    color: var(--elp-secondary);
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
}

.elp-form-group {
    margin-bottom: 15px;
}

.elp-form-group-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--elp-text);
}

.elp-form-group-input,
.elp-form-group-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--elp-border);
    border-radius: 4px;
    font-size: 14px;
}

.elp-form-group-input:focus,
.elp-form-group-textarea:focus {
    outline: none;
    border-color: var(--elp-primary);
}

.elp-predefined-fields {
    margin-bottom: 20px;
}

.elp-predefined-fields h4 {
    color: var(--elp-secondary);
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 500;
}

.elp-predefined-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.elp-predefined-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--elp-border);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.elp-predefined-field:hover {
    border-color: var(--elp-primary);
    background: var(--elp-light-bg);
}

.elp-field-icon {
    font-size: 16px;
}

.elp-field-label {
    font-size: 14px;
    color: var(--elp-text);
}

/* Empty State for Forms */
.elp-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid var(--elp-border);
}

.elp-empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.elp-empty-state h3 {
    color: var(--elp-secondary);
    margin: 0 0 10px 0;
    font-size: 20px;
}

.elp-empty-state p {
    color: var(--elp-light-gray);
    margin: 0 0 20px 0;
    font-size: 14px;
} 

/* Deleted user styling */
.elp-deleted-user {
    color: #999;
    text-decoration: line-through;
    font-style: italic;
    opacity: 0.7;
} 

/* Deleted form styling */
.elp-deleted-form {
    color: #999;
    text-decoration: line-through;
    font-style: italic;
    opacity: 0.7;
} 