/* Consent Modal Styles */
.ikap-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.ikap-consent-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.consent-scroll-container {
    flex: 1;
    overflow-y: auto;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    max-height: 50vh;
}

.consent-text {
    line-height: 1.6;
    font-size: 14px;
}

.consent-meta-fields {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
}

.consent-meta-fields .form-group {
    margin-bottom: 15px;
}

.consent-meta-fields label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.consent-meta-fields input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#consent_initials {
    text-transform: uppercase;
    max-width: 100px;
}

#consent_date {
    background: #eee;
    cursor: not-allowed;
}

.consent-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .ikap-consent-content {
        padding: 20px;
        width: 95%;
    }
    
    .consent-scroll-container {
        max-height: 40vh;
        padding: 10px;
    }
    
    .consent-meta-fields {
        padding: 15px;
    }
    
    .consent-actions {
        flex-direction: column;
    }
    
    .consent-actions .btn {
        width: 100%;
    }
}