/**
 * Job PDPA Cookie Consent Bottom Modal Styles
 * Bottom center modal with inline layout
 */

/* Overlay background */
.job-pdpa-bottom-overlay-def456 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.job-pdpa-bottom-overlay-def456.job-pdpa-show-xyz789 {
    opacity: 1;
}

.job-pdpa-bottom-overlay-def456.job-pdpa-hide-xyz789 {
    opacity: 0;
}

/* Modal container - positioned at bottom */
.job-pdpa-bottom-modal-def456 {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    max-width: 720px;
    width: 100%;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.job-pdpa-show-xyz789 .job-pdpa-bottom-modal-def456 {
    transform: translateY(0);
}

/* Close button */
.job-pdpa-bottom-close-def456 {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    border-radius: 4px;
    z-index: 1;
}

.job-pdpa-bottom-close-def456:hover {
    opacity: 0.7;
    background-color: #f5f5f5;
}

.job-pdpa-bottom-close-def456:focus {
    outline: 2px solid #0099ed;
    outline-offset: 2px;
}

/* Content container - inline layout */
.job-pdpa-bottom-content-def456 {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 60px; /* Space for close button */
}

/* Text styles */
.job-pdpa-bottom-text-def456 {
    margin: 0;
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Kanit', sans-serif;
}

.job-pdpa-bottom-text-def456 strong {
    font-weight: 600;
    color: #000000;
}

/* Privacy link */
.job-pdpa-bottom-link-def456 {
    color: #0099ed;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.job-pdpa-bottom-link-def456:hover,
.job-pdpa-bottom-link-def456:focus {
    color: #0077bb;
    text-decoration: none;
}

.job-pdpa-bottom-link-def456:focus {
    outline: 2px solid #0099ed;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Accept button - inline style */
.job-pdpa-bottom-accept-btn-def456 {
    background-color: #0099ed;
    color: #ffffff;
    border: none;
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Kanit', sans-serif;
}

.job-pdpa-bottom-accept-btn-def456:hover {
    background-color: #0077bb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 153, 237, 0.2);
}

.job-pdpa-bottom-accept-btn-def456:active {
    transform: translateY(0);
    box-shadow: none;
}

.job-pdpa-bottom-accept-btn-def456:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 237, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .job-pdpa-bottom-modal-def456 {
        max-width: 100%;
        margin: 0 10px 10px 10px;
        border-radius: 12px 12px 8px 8px;
    }
    
    .job-pdpa-bottom-content-def456 {
        flex-direction: column;
        padding: 20px;
        padding-right: 50px;
        gap: 16px;
        align-items: stretch;
    }
    
    .job-pdpa-bottom-text-def456 {
        font-size: 13px;
        text-align: center;
    }
    
    .job-pdpa-bottom-accept-btn-def456 {
        width: 100%;
        padding: 12px 24px;
    }
    
    .job-pdpa-bottom-close-def456 {
        top: 12px;
        right: 12px;
        padding: 6px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .job-pdpa-bottom-overlay-def456 {
        padding: 0;
    }
    
    .job-pdpa-bottom-modal-def456 {
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 50vh;
        overflow-y: auto;
    }
}

/* Accessibility - High contrast mode */
@media (prefers-contrast: high) {
    .job-pdpa-bottom-modal-def456 {
        border: 2px solid #000000;
        border-bottom: none;
    }
    
    .job-pdpa-bottom-accept-btn-def456 {
        border: 2px solid transparent;
    }
    
    .job-pdpa-bottom-accept-btn-def456:focus {
        border-color: #000000;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .job-pdpa-bottom-overlay-def456,
    .job-pdpa-bottom-modal-def456 {
        transition: none;
    }
    
    .job-pdpa-bottom-accept-btn-def456 {
        transition: none;
    }
}

/* Print styles */
@media print {
    .job-pdpa-bottom-overlay-def456 {
        display: none !important;
    }
}