/**
 * Cuanticom Client Portal - Frontend Styles
 * Modern, responsive, and accessible design
 */

:root {
    --ccp-primary: #0073aa;
    --ccp-primary-hover: color-mix(in srgb, var(--ccp-primary) 80%, black);
    --ccp-primary-shadow: color-mix(in srgb, var(--ccp-primary) 30%, transparent);
    --ccp-primary-focus: color-mix(in srgb, var(--ccp-primary) 10%, transparent);
    --ccp-secondary: #23282d;
    --ccp-secondary-hover: color-mix(in srgb, var(--ccp-secondary) 80%, black);
    --ccp-success: #46b450;
    --ccp-warning: #ffb900;
    --ccp-error: #dc3232;
    --ccp-info: #00a0d2;
    --ccp-border: #dcdcde;
    --ccp-bg-light: #f6f7f7;
    --ccp-text: #2c3338;
    --ccp-text-light: #646970;
    --ccp-radius: 8px;
    --ccp-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --ccp-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Wrapper */
.ccp-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--ccp-text);
    line-height: 1.6;
}

/* Form Container */
.ccp-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-shadow);
}

.ccp-form-container h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    color: var(--ccp-primary);
}

/* Forms */
.ccp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ccp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ccp-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ccp-form-group-small {
    grid-column: span 1;
}

.ccp-form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--ccp-text);
}

.ccp-form-group input[type="text"],
.ccp-form-group input[type="email"],
.ccp-form-group input[type="password"],
.ccp-form-group input[type="tel"],
.ccp-form-group input[type="date"],
.ccp-form-group input[type="number"],
.ccp-form-group select,
.ccp-form-group textarea {
    padding: 12px;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
    color: var(--ccp-text);
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ccp-form-group input:focus,
.ccp-form-group select:focus,
.ccp-form-group textarea:focus {
    outline: none;
    border-color: var(--ccp-primary);
    box-shadow: 0 0 0 3px var(--ccp-primary-focus);
}

.ccp-form-group small {
    font-size: 13px;
    color: var(--ccp-text-light);
}

.ccp-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.ccp-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Buttons */
.ccp-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--ccp-radius);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.ccp-btn-primary,
a.ccp-btn-primary,
a.ccp-btn-primary:visited {
    background: var(--ccp-primary);
    color: white;
}

.ccp-btn-primary:hover,
.ccp-btn-primary:focus,
a.ccp-btn-primary:hover,
a.ccp-btn-primary:focus {
    background: var(--ccp-primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--ccp-primary-shadow);
}

.ccp-btn-secondary,
a.ccp-btn-secondary,
a.ccp-btn-secondary:visited {
    background: var(--ccp-secondary);
    color: white;
}

.ccp-btn-secondary:hover,
.ccp-btn-secondary:focus,
a.ccp-btn-secondary:hover,
a.ccp-btn-secondary:focus {
    background: var(--ccp-secondary-hover);
    color: white;
}

.ccp-btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.ccp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Messages */
.ccp-message {
    padding: 15px 20px;
    border-radius: var(--ccp-radius);
    margin-bottom: 20px;
}

.ccp-message-success,
.ccp-success {
    background: #d7f0d7;
    color: #2c662d;
    border-left: 4px solid var(--ccp-success);
}

.ccp-message-error,
.ccp-error {
    background: #fbe8e8;
    color: #8b2424;
    border-left: 4px solid var(--ccp-error);
}

.ccp-message-info,
.ccp-info {
    background: #d8ecf3;
    color: #155163;
    border-left: 4px solid var(--ccp-info);
}

.ccp-message-warning,
.ccp-warning {
    background: #fff7e6;
    color: #8a6d3b;
    border-left: 4px solid var(--ccp-warning);
}

/* Dashboard */
.ccp-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ccp-border);
}

.ccp-dashboard-header h1 {
    margin: 0;
    color: var(--ccp-primary);
}

/* Products Grid */
.ccp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.ccp-product-card {
    background: white;
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.ccp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ccp-shadow-hover);
}

.ccp-product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.ccp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ccp-product-content {
    padding: 20px;
}

.ccp-product-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--ccp-text);
}

.ccp-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ccp-primary);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ccp-product-status {
    margin: 15px 0;
}

.ccp-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.ccp-status-signed {
    background: #d7f0d7;
    color: #2c662d;
}

.ccp-status-pending {
    background: #fff7e6;
    color: #8a6d3b;
}

.ccp-status-revoked {
    background: #fbe8e8;
    color: #8b2424;
}

.ccp-product-actions {
    margin-top: 15px;
}

/* NDA Signature */
.ccp-nda-container {
    background: white;
    border-radius: var(--ccp-radius);
    padding: 40px;
    box-shadow: var(--ccp-shadow);
}

.ccp-nda-text {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--ccp-bg-light);
    border-radius: var(--ccp-radius);
    max-height: 500px;
    overflow-y: auto;
}

.ccp-signature-pad-container {
    position: relative;
    border: 2px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    background: white;
    overflow: hidden;
}

#ccp-signature-pad {
    display: block;
    cursor: crosshair;
    touch-action: none;
}

#ccp-clear-signature {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

/* Tabs */
.ccp-section-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--ccp-border);
    margin-bottom: 30px;
}

.ccp-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--ccp-text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.ccp-tab-btn:hover {
    color: var(--ccp-primary);
}

.ccp-tab-btn.active {
    color: var(--ccp-primary);
    border-bottom-color: var(--ccp-primary);
}

.ccp-tab-content {
    display: none;
}

.ccp-tab-content.active {
    display: block;
}

/* Documents List */
.ccp-documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ccp-document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    transition: all 0.3s;
}

.ccp-document-item:hover {
    box-shadow: var(--ccp-shadow);
    border-color: var(--ccp-primary);
}

.ccp-document-info h4 {
    margin: 0 0 8px 0;
    color: var(--ccp-text);
}

.ccp-document-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--ccp-text-light);
}

/* Breadcrumb */
.ccp-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--ccp-text-light);
}

.ccp-breadcrumb a {
    color: var(--ccp-primary);
    text-decoration: none;
}

.ccp-breadcrumb a:hover {
    text-decoration: underline;
}

/* Form Footer */
.ccp-form-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ccp-border);
    text-align: center;
    font-size: 14px;
}

.ccp-form-footer a {
    color: var(--ccp-primary);
    text-decoration: none;
}

.ccp-form-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .ccp-form-container {
        padding: 30px 20px;
    }

    .ccp-form-row {
        grid-template-columns: 1fr;
    }

    .ccp-radio-group {
        grid-template-columns: 1fr;
    }

    .ccp-products-grid {
        grid-template-columns: 1fr;
    }

    .ccp-dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ccp-section-tabs {
        flex-wrap: wrap;
    }

    .ccp-document-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .ccp-wrapper {
        padding: 10px;
    }

    .ccp-form-container {
        padding: 20px 15px;
    }

    .ccp-btn {
        width: 100%;
    }
}

/* ==================== NEW FEATURES ==================== */

/* Tab Navigation */
.ccp-tabs {
    margin-top: 30px;
}

.ccp-tabs-nav {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--ccp-border);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ccp-tab-link {
    position: relative;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--ccp-text-light);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ccp-tab-link:hover {
    color: var(--ccp-primary);
    background: var(--ccp-bg-light);
}

.ccp-tab-link.active {
    color: var(--ccp-primary);
    border-bottom-color: var(--ccp-primary);
}

.ccp-badge-count {
    display: inline-block;
    padding: 2px 8px;
    background: var(--ccp-primary);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.ccp-badge-count.ccp-badge-alert {
    background: var(--ccp-error);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ccp-tab-panel {
    display: none;
}

.ccp-tab-panel.active {
    display: block;
}

/* Documents & Contracts */
.ccp-section {
    margin-bottom: 40px;
}

.ccp-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ccp-border);
    color: var(--ccp-text);
}

.ccp-document-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ccp-document-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    transition: all 0.3s;
}

.ccp-document-item:hover {
    box-shadow: var(--ccp-shadow);
    border-color: var(--ccp-primary);
}

.ccp-document-icon {
    color: var(--ccp-primary);
}

.ccp-document-icon svg {
    stroke-width: 2px;
}

.ccp-document-info h4 {
    margin: 0 0 5px 0;
    color: var(--ccp-text);
    font-size: 16px;
}

.ccp-document-product {
    margin: 5px 0;
    font-size: 13px;
    color: var(--ccp-text-light);
}

.ccp-document-desc {
    margin: 5px 0;
    font-size: 14px;
    color: var(--ccp-text);
}

.ccp-document-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ccp-text-light);
}

.ccp-document-actions {
    display: flex;
    gap: 10px;
}

/* File Requests */
.ccp-file-requests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ccp-file-request-item {
    padding: 25px;
    background: white;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-shadow);
}

.ccp-file-request-item.ccp-pending {
    border-left: 4px solid var(--ccp-warning);
}

.ccp-file-request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ccp-file-request-header h3 {
    margin: 0;
    color: var(--ccp-text);
}

.ccp-file-request-description {
    margin-bottom: 20px;
    color: var(--ccp-text);
}

.ccp-file-request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--ccp-bg-light);
    border-radius: var(--ccp-radius);
}

.ccp-meta-item {
    font-size: 14px;
}

.ccp-meta-item strong {
    color: var(--ccp-text);
}

.ccp-badge-required {
    background: var(--ccp-error);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.ccp-file-upload-form {
    margin-top: 20px;
}

.ccp-file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
    border: 2px dashed var(--ccp-border);
    border-radius: var(--ccp-radius);
    cursor: pointer;
    transition: all 0.3s;
    background: var(--ccp-bg-light);
}

.ccp-file-upload-label:hover {
    border-color: var(--ccp-primary);
    background: white;
}

.ccp-file-upload-label svg {
    color: var(--ccp-primary);
}

input[type="file"] {
    display: none;
}

.ccp-file-info {
    margin: 10px 0;
    padding: 10px;
    background: var(--ccp-bg-light);
    border-radius: var(--ccp-radius);
}

.ccp-uploaded-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #d7f0d7;
    color: #2c662d;
    border-radius: var(--ccp-radius);
    margin-top: 15px;
}

.ccp-uploaded-file-info svg {
    color: var(--ccp-success);
    flex-shrink: 0;
}

.ccp-upload-message {
    margin-top: 15px;
}

/* Appointments */
.ccp-appointments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ccp-appointments-header h2 {
    margin: 0;
}

.ccp-appointments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ccp-appointment-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 25px;
    padding: 25px;
    background: white;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-shadow);
    transition: all 0.3s;
}

.ccp-appointment-item:hover {
    box-shadow: var(--ccp-shadow-hover);
}

.ccp-appointment-item.ccp-upcoming {
    border-left: 4px solid var(--ccp-primary);
}

.ccp-appointment-date {
    text-align: center;
    padding: 15px;
    background: var(--ccp-bg-light);
    border-radius: var(--ccp-radius);
}

.ccp-date-day {
    font-size: 32px;
    font-weight: 700;
    color: var(--ccp-primary);
    line-height: 1;
}

.ccp-date-month {
    font-size: 14px;
    font-weight: 600;
    color: var(--ccp-text-light);
    text-transform: uppercase;
}

.ccp-date-year {
    font-size: 13px;
    color: var(--ccp-text-light);
}

.ccp-appointment-content h3 {
    margin: 0 0 10px 0;
    color: var(--ccp-text);
}

.ccp-appointment-description {
    margin: 10px 0;
    color: var(--ccp-text);
    font-size: 14px;
}

.ccp-appointment-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.ccp-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ccp-text-light);
}

.ccp-detail-item svg {
    color: var(--ccp-primary);
    flex-shrink: 0;
}

.ccp-meeting-link {
    color: var(--ccp-primary);
    text-decoration: none;
}

.ccp-meeting-link:hover {
    text-decoration: underline;
}

.ccp-appointment-action {
    display: flex;
    align-items: center;
}

/* Support Tickets */
.ccp-support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ccp-support-header h2 {
    margin: 0;
}

.ccp-ticket-form {
    padding: 25px;
    background: white;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    margin-bottom: 30px;
    box-shadow: var(--ccp-shadow);
}

.ccp-ticket-form h3 {
    margin-top: 0;
}

.ccp-form-actions {
    display: flex;
    gap: 10px;
}

.ccp-tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.ccp-ticket-card {
    padding: 20px;
    background: white;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-shadow);
    transition: all 0.3s;
}

.ccp-ticket-card:hover {
    box-shadow: var(--ccp-shadow-hover);
}

.ccp-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.ccp-ticket-subject {
    margin: 0;
    font-size: 16px;
    color: var(--ccp-text);
}

.ccp-ticket-badges {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.ccp-status-open {
    background: #d8ecf3;
    color: #155163;
}

.ccp-status-closed {
    background: #e5e5e5;
    color: #646970;
}

.ccp-priority-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.ccp-priority-low {
    background: #e5e5e5;
    color: #646970;
}

.ccp-priority-normal {
    background: #d8ecf3;
    color: #155163;
}

.ccp-priority-high {
    background: #fbe8e8;
    color: #8b2424;
}

.ccp-ticket-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--ccp-text-light);
    margin-bottom: 10px;
}

.ccp-ticket-preview {
    font-size: 14px;
    color: var(--ccp-text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.ccp-ticket-actions {
    display: flex;
    gap: 10px;
}

/* Modal */
.ccp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ccp-modal-content {
    background: white;
    border-radius: var(--ccp-radius);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ccp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--ccp-border);
}

.ccp-modal-header h3 {
    margin: 0;
    color: var(--ccp-text);
}

.ccp-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--ccp-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ccp-modal-close:hover {
    color: var(--ccp-error);
}

.ccp-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

/* Chat Messages */
.ccp-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: var(--ccp-bg-light);
    border-radius: var(--ccp-radius);
    margin-bottom: 20px;
}

.ccp-chat-message {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 80%;
}

.ccp-message-customer {
    align-self: flex-end;
}

.ccp-message-staff {
    align-self: flex-start;
}

.ccp-message-content {
    padding: 12px 16px;
    border-radius: var(--ccp-radius);
    line-height: 1.5;
}

.ccp-message-customer .ccp-message-content {
    background: var(--ccp-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.ccp-message-staff .ccp-message-content {
    background: white;
    color: var(--ccp-text);
    border: 1px solid var(--ccp-border);
    border-bottom-left-radius: 4px;
}

.ccp-message-time {
    font-size: 11px;
    color: var(--ccp-text-light);
    padding: 0 5px;
}

.ccp-message-customer .ccp-message-time {
    text-align: right;
}

.ccp-chat-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ccp-chat-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Radio Button Group */
.ccp-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ccp-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 2px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: normal;
}

.ccp-radio-option:hover {
    border-color: var(--ccp-primary);
    background: var(--ccp-bg-light);
}

.ccp-radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--ccp-primary);
}

.ccp-radio-option input[type="radio"]:checked + .ccp-radio-label {
    color: var(--ccp-primary);
    font-weight: 600;
}

.ccp-radio-option:has(input:checked) {
    border-color: var(--ccp-primary);
    background: var(--ccp-bg-light);
}

.ccp-radio-label {
    font-size: 15px;
    color: var(--ccp-text);
}

/* NDA Consent Section */
.ccp-nda-consent-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--ccp-border);
}

.ccp-nda-consent-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--ccp-text);
}

.ccp-consent-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ccp-consent-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: normal;
    line-height: 1.5;
    font-size: 14px;
    color: var(--ccp-text);
}

.ccp-consent-option:hover {
    border-color: var(--ccp-primary);
    background: var(--ccp-bg-light);
}

.ccp-consent-option:has(input:checked) {
    border-color: var(--ccp-success);
    background: #f0faf0;
}

.ccp-consent-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--ccp-primary);
}

.ccp-consent-option a {
    color: var(--ccp-primary);
    text-decoration: underline;
}

.ccp-nda-version {
    font-size: 13px;
    color: var(--ccp-text-light);
    margin-bottom: 10px;
}

/* Investment Section */
.ccp-invest-section {
    margin-top: 10px;
}

.ccp-invest-container {
    padding: 30px;
    background: white;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-shadow);
}

.ccp-invest-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--ccp-text);
}

.ccp-invest-intro {
    margin-bottom: 25px;
    color: var(--ccp-text-light);
    font-size: 14px;
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .ccp-appointment-item {
        grid-template-columns: 80px 1fr;
    }

    .ccp-appointment-action {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .ccp-tickets-grid {
        grid-template-columns: 1fr;
    }

    .ccp-document-item {
        grid-template-columns: auto 1fr;
    }

    .ccp-document-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .ccp-modal-content {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .ccp-tabs-nav {
        gap: 0;
    }

    .ccp-tab-link {
        flex: 1;
        justify-content: center;
        padding: 10px 8px;
        font-size: 13px;
    }
}
