/* VUSH Sherbimet Public Styles */
 
.vush-user-requests {
    max-width: 1000px;
    margin: 0 auto;
    
}

.requests-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.vush-requests-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.vush-requests-table th,
.vush-requests-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.vush-requests-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.vush-requests-table tr:hover {
    background: #f5f5f5;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending { background: #ffeaa7; color: #2d3436; }
.status-approved { background: #55a3ff; color: white; }
.status-completed { background: #00b894; color: white; }

.actions-cell {
    white-space: nowrap;
}

.vush-button {
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    background: #f0f0f0;
    color: #333;
}

.vush-button:hover {
    background: #e0e0e0;
}

.vush-button-primary {
    background: #0073aa;
    color: white;
}

.vush-button-primary:hover {
    background: #005a87;
}

.vush-pagination {
    text-align: center;
    margin: 20px 0;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    border: 1px solid #ddd;
    color: #0073aa;
    text-decoration: none;
    border-radius: 3px;
}

.page-link:hover,
.page-link.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Modal styles */
.vush-modal {
    position: fixed !important;
    z-index: 9999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
}

.vush-modal.show {
    display: block !important;
}

/* Prevent accidental closing during opening */
body.modal-opening .vush-modal {
    pointer-events: none;
}

body.modal-opening .vush-modal .vush-modal-content {
    pointer-events: all;
}

.vush-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.vush-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 5px 5px 0 0;
}

.vush-modal-header h4 {
    margin: 0;
    color: #333;
}

.vush-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.vush-modal-close:hover {
    color: #000;
}

.vush-modal-body { 
    max-height: 60vh;
    overflow-y: auto;
}

.vush-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid;
    background: #fff;
}

.vush-notice-info {
    border-left-color: #0073aa;
    background-color: #f0f8ff;
}

@media (max-width: 768px) {
    .vush-requests-table {
        font-size: 14px;
    }
    
    .vush-requests-table th,
    .vush-requests-table td {
        padding: 8px;
    }
    
    .vush-modal-content {
        width: 95%;
        margin: 10% auto;
    }
} 
.vush-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 5px;
}

.vush-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vush-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Service selection */
.vush-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.vush-service-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.vush-service-card:hover {
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: #333;
    text-decoration: none;
}

.vush-service-icon {
    font-size: 48px;
    color: #0073aa;
    margin-bottom: 15px;
}

.vush-service-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.vush-service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Form styles 
.vush-form {
    background: #f9f9f9;
    padding: 20px 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
    */

.vush-form-section { 
 
    margin-bottom: 20px;  
}

.vush-form-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.vush-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.vush-form-row label {
    display: block;
    width: 200px;
    font-weight: bold;
    color: #555;
    margin-right: 15px;
}

.vush-form-row input,
.vush-form-row select,
.vush-form-row textarea {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.vush-form-row input:focus,
.vush-form-row select:focus,
.vush-form-row textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.1);
}

/* Error states for form validation */
.vush-form-row input.error,
.vush-form-row select.error,
.vush-form-row textarea.error {
    border-color: #dc3232;
    box-shadow: 0 0 0 2px rgba(220,50,50,0.1);
}

.vush-form-row input.error:focus,
.vush-form-row select.error:focus,
.vush-form-row textarea.error:focus {
    border-color: #dc3232;
    box-shadow: 0 0 0 2px rgba(220,50,50,0.2);
}

.vush-form-row span {
    flex: 1;
    padding: 10px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.vush-form-actions {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

/* Buttons */
.vush-button {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vush-button-primary {
    background: #0073aa;
    color: white;
}

.vush-button-primary:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

.vush-button-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.vush-button-secondary:hover {
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
}

.vush-button-small {
    padding: 6px 12px;
    font-size: 14px;
}

.vush-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Tables */
.vush-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
}

.vush-table th,
.vush-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.vush-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.vush-table tr:hover {
    background: #f5f5f5;
}

.vush-table tr:last-child td {
    border-bottom: none;
}

/* Status badges */
.vush-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vush-status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.vush-status-approved {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #55a3ff;
}

.vush-status-completed {
    background: #d1f2eb;
    color: #155724;
    border: 1px solid #00b894;
}

/* Notifications */
.vush-notice {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 4px solid;
    background: white;
    border-radius: 0 4px 4px 0;
}

.vush-notice-success {
    border-left-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

.vush-notice-error {
    border-left-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.vush-notice-warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #856404;
}

.vush-notice-info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Progress indicator */
.vush-progress {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.vush-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #005a87);
    width: 0%;
    transition: width 0.3s ease;
}

/* Loading spinner */
.vush-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: vush-spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes vush-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pagination */
.vush-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 5px;
}

.vush-page-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.vush-page-link:hover,
.vush-page-link.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    text-decoration: none;
}

/* Modal */
.vush-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vush-modal.show {
    opacity: 1;
    visibility: visible;
}

.vush-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.vush-modal.show .vush-modal-content {
    transform: translateY(0);
}

.vush-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.vush-modal-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.vush-modal-close {
    color: #999;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.vush-modal-close:hover {
    color: #333;
    background: #e9ecef;
}

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

/* Notification styles */
.vush-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.vush-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.vush-notification-content {
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 16px;
    border-left: 4px solid #0073aa;
}

.vush-notification-success .vush-notification-content {
    border-left-color: #00b894;
    background: #d4edda;
}

.vush-notification-error .vush-notification-content {
    border-left-color: #e74c3c;
    background: #f8d7da;
}

.vush-notification-warning .vush-notification-content {
    border-left-color: #f39c12;
    background: #fff3cd;
}

.vush-notification-info .vush-notification-content {
    border-left-color: #0073aa;
    background: #d1ecf1;
}

.vush-notification-close {
    float: right;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    margin-left: 10px;
}

.vush-notification-close:hover {
    color: #000;
}

.login-redirect-content h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.login-redirect-content p {
    margin: 0 0 15px 0;
    color: #666;
}

.login-redirect-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.login-redirect-actions .vush-button {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.login-redirect-actions .vush-button-primary {
    background: #0073aa;
    color: white;
}

.login-redirect-actions .vush-button-secondary {
    background: #6c757d;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .vush-container {
        padding: 15px;
    }
    
    .vush-card {
        padding: 20px 5px;
    }
    
    .vush-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vush-form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vush-form-row label {
        width: 100%;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .vush-form-row input,
    .vush-form-row select,
    .vush-form-row textarea,
    .vush-form-row span {
        width: 100%;
    }
    
    .vush-table {
        font-size: 14px;
    }
    
    .vush-table th,
    .vush-table td {
        padding: 8px 10px;
    }
    
    .vush-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .vush-modal-header,
    .vush-modal-body {
        padding: 15px 20px;
    }
    
    .vush-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .vush-form-section {
        padding: 0px;
    }
    
    .vush-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .vush-service-card {
        padding: 15px;
    }
    
    .vush-service-icon {
        font-size: 36px;
    }
}

/* Notification Styles */
.vush-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateX(450px);
    transition: transform 0.3s ease-in-out;
    border-left: 4px solid #ccc;
}

.vush-notification.show {
    transform: translateX(0);
}

.vush-notification-content {
    padding: 20px 5px;
    position: relative;
}

.vush-notification-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.vush-notification-close:hover {
    color: #333;
}

.vush-notification-success {
    border-left-color: #00b894;
}

.vush-notification-error {
    border-left-color: #e74c3c;
}

.vush-notification-warning {
    border-left-color: #f39c12;
}

.vush-notification-info {
    border-left-color: #0073aa;
}

/* Login Redirect Notification */
.login-redirect-content h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.login-redirect-content p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.4;
}

.login-redirect-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-redirect-actions .vush-button {
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.login-redirect-actions .vush-button-primary {
    background: #0073aa;
    color: white;
}

.login-redirect-actions .vush-button-primary:hover {
    background: #005a87;
}

.login-redirect-actions .vush-button-secondary {
    background: #6c757d;
    color: white;
}

.login-redirect-actions .vush-button-secondary:hover {
    background: #545b62;
}

@media (max-width: 480px) {
    .vush-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .vush-notification.show {
        transform: translateY(0);
    }
    
    .login-redirect-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .login-redirect-actions .vush-button {
        width: 100%;
        margin-bottom: 5px;
    }
}
 
.vush-service-form {
    max-width: 800px;
    margin: 0 auto; 
    background: #fff;  
}

.vush-form-section {
    margin-bottom: 30px;
    padding: 0px;  
}

.vush-form-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vush-edit-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.vush-edit-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.vush-edit-btn .edit-icon {
    font-size: 14px;
}

.organization-edit-actions {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.vush-button-success {
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vush-button-success:hover {
    background: #218838;
}

.vush-button-secondary {
    background: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vush-button-secondary:hover {
    background: #5a6268;
}

.organization-view {
    transition: all 0.3s ease;
}

#organization-editable {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #0073aa;
}

#organization-editable .vush-form-row input {
    border: 2px solid #0073aa;
    background: white;
    transition: all 0.2s ease;
}

#organization-editable .vush-form-row input:focus {
    border-color: #005a87;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.service-specific-fields {
    background: #f0f8ff;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.service-specific-fields.show {
    animation: slideIn 0.3s ease-in-out;
}

.service-explanation {
    margin-top: 15px;
    padding: 15px 5px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    transition: all 0.3s ease;
}

.service-explanation.show {
    animation: fadeInSlide 0.4s ease-in-out;
}

.explanation-content {
    display: flex;
    align-items: flex-start;
}

 
.explanation-content p {
    margin: 0;
    color: #2c5aa0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

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

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

.vush-form-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.vush-form-row label {
    display: inline-block;
    width: 200px;
    font-weight: bold;
    color: #555;
}

.vush-form-row input,
.vush-form-row select,
.vush-form-row textarea {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.vush-form-row span {
    flex: 1;
    padding: 8px 12px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
}

.vush-form-actions {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.vush-button {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.vush-button-primary {
    background: #0073aa;
    color: white;
}

.vush-button-primary:hover {
    background: #005a87;
}

.vush-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid;
    background: #fff;
}

.vush-notice-warning {
    border-left-color: #ffba00;
    background-color: #fffaef;
}

.vush-notice-success {
    border-left-color: #00a32a;
    background-color: #f0f8ef;
}

.vush-notice-error {
    border-left-color: #d63638;
    background-color: #fcf0f1;
}

@media (max-width: 768px) {
    .vush-form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vush-form-row label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .vush-form-row input,
    .vush-form-row select,
    .vush-form-row textarea,
    .vush-form-row span {
        width: 100%;
    }
}
