/* ===================================
   USER MANUAL STYLES
   =================================== */

/* Step Components */
.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fc;
    border-left: 4px solid #667eea;
}

/* Highlight & Info Boxes */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.tip-box {
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.info-box {
    background: #d1ecf1;
    border: 1px solid #17a2b8;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

/* Form Components */
.form-field {
    background: white;
    border: 2px solid #e3e6f0;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.field-label {
    font-weight: 600;
    color: #5a5c69;
    margin-bottom: 5px;
}

/* Screenshots & Visual Elements */
.screenshot-frame {
    border: 3px solid #e3e6f0;
    border-radius: 10px;
    padding: 10px;
    background: white;
    margin: 15px 0;
}

/* Action Buttons */
.action-button {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin: 2px;
    text-decoration: none;
}

.btn-create {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.btn-edit {
    background: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.btn-cancel {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
}

.btn-save {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.btn-view {
    background: #17a2b8;
    color: white;
    border: 1px solid #17a2b8;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
}

.btn-approve {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.btn-reject {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
}

.btn-manage {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

/* Additional Buttons */
.btn-add {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.btn-settings {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-in-progress {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

/* Maintenance status */
.status-maintenance {
    background: #fff3cd;
    color: #856404;
}

/* Table Components */
.table-example {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
}

.table-header {
    background: #f8f9fa;
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.table-header.primary {
    background: #3b82f6;
    color: white;
    text-align: center;
}

.table-row {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.table-row:last-child {
    border-bottom: none;
}

/* Specialized Components */
.vehicle-type {
    background: #f8f9fc;
    border: 2px solid #e3e6f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.room-type {
    background: #f8f9fc;
    border: 2px solid #e3e6f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.equipment-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.facility-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.facility-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

/* Room card component */
.room-card {
    background: white;
    border: 2px solid #e3e6f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

/* Equipment grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

/* Capacity info */
.capacity-info {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
}

.capacity-number {
    font-size: 24px;
    font-weight: bold;
    color: #1976d2;
}

/* Upload area */
.upload-area {
    border: 2px dashed #6c757d;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8f9fc;
    margin: 10px 0;
}

/* Feature list */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Profile image */
.profile-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

/* Manual images */
.manual-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 10px 0;
}

/* Document & File Components */
.document-type {
    background: #f8f9fc;
    border: 2px solid #e3e6f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.file-upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    margin: 15px 0;
}

.file-list {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.file-item:last-child {
    border-bottom: none;
}

/* Approval Level Components */
.approval-level {
    background: #f8f9fc;
    border: 2px solid #e3e6f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.approval-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.approval-step {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 0 5px;
}

.approval-step.active {
    background: #e8f5e8;
    border-color: #28a745;
}

.approval-step.completed {
    background: #d4edda;
    border-color: #28a745;
}

.approval-arrow {
    font-size: 20px;
    color: #6c757d;
}

/* Step components for document approval (different style) */
.step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    flex: 1;
}

/* Approval status */
.approval-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Manual Layout */
.manual-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* FAQ Components */
.faq-section {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 15px;
    margin: 0;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: '+';
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 15px;
    background: white;
    border-top: 1px solid #e3e6f0;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Collapse components */
.collapse-header {
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapse-header:hover {
    background: #e2e6ea;
}

.collapse-icon {
    transition: transform 0.3s;
    margin-left: auto;
}

.collapse-content {
    border: 1px solid #e3e6f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    background: white;
}

/* Success box for additional info sections */
.success-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

/* Additional action types for approval process */
.action-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.action-approve {
    color: #28a745;
    font-weight: 500;
}

.action-reject {
    color: #dc3545;
    font-weight: 500;
}

.user-assignment {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
}

.process-flow {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.final-action {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

/* Collapsible Button FAQ Styles */
.collapsible {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.collapsible:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.collapsible.active {
    background-color: #0056b3;
}

.collapsible i {
    transition: transform 0.3s ease;
    font-size: 16px;
}

.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
    margin-bottom: 8px;
}

.content p {
    padding: 18px 0;
    margin: 0;
    color: #495057;
    line-height: 1.6;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-number {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .equipment-list,
    .facility-list {
        grid-template-columns: 1fr;
    }
    
    .approval-flow {
        flex-direction: column;
    }
    
    .approval-step {
        margin: 5px 0;
    }
    
    .approval-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

