.consent-form-wrapper {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
}

.consent-form-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.consent-form-logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.consent-form-logo img.consent-logo {
    max-width: 300px;
    max-height: 100px;
    height: auto;
    width: auto;
    display: inline-block;
}

.consent-form-container h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3;
}

.responsible-party {
    background: #e8f4f8;
    border: 1px solid #b8dae8;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.responsible-party h4 {
    margin: 0 0 6px 0;
    color: #0056b3;
    font-size: 14px;
    font-weight: 600;
}

.responsible-party p {
    margin: 0;
    color: #333;
    line-height: 1.5;
    font-size: 13px;
}

.consent-intro {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.consent-intro p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.consent-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    color: #721c24;
}

.consent-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    color: #0c5460;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.consent-section {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 18px;
    margin: 20px 0;
}

.consent-section h3 {
    color: #333;
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 600;
}

.consent-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
}

.consent-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consent-checkbox {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s;
}

.consent-checkbox:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    vertical-align: middle;
    cursor: pointer;
}

.consent-checkbox label {
    display: inline;
    cursor: pointer;
    color: #333;
    line-height: 1.6;
}

.consent-checkbox label strong {
    color: #007bff;
}

.storage-duration-notice {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
}

.storage-duration-notice h4 {
    margin: 0 0 6px 0;
    color: #0056b3;
    font-size: 14px;
    font-weight: 600;
}

.storage-duration-notice p {
    margin: 0;
    color: #333;
    line-height: 1.5;
    font-size: 13px;
}

.revocation-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
}

.revocation-notice h4 {
    color: #856404;
    font-size: 18px;
    margin-bottom: 10px;
}

.revocation-notice p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

.signature-section {
    margin: 20px 0;
}

.signature-section h3 {
    color: #333;
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 600;
}

.signature-section > p {
    color: #666;
    margin-bottom: 15px;
}

.signature-pad-wrapper {
    border: 2px solid #007bff;
    border-radius: 6px;
    background: #ffffff;
    padding: 10px;
    margin-bottom: 15px;
}

.signature-pad {
    width: 100%;
    height: 200px;
    cursor: crosshair;
    touch-action: none;
}

.signature-controls {
    text-align: right;
}

.btn-secondary {
    background: #6c757d;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

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

.partner-signature {
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
}

.partner-signature h4 {
    margin: 0 0 6px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.partner-signature p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 13px;
}

.form-messages {
    margin: 20px 0;
}

.form-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    background: #007bff;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.partner-consent-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.partner-consent-dashboard h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
}

.dashboard-info {
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.dashboard-info p {
    margin: 5px 0;
    color: #555;
}

.no-consents {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
}

.partner-link {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.partner-link code {
    background: #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    word-break: break-all;
}

.consents-table-wrapper {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.consents-table {
    width: 100%;
    border-collapse: collapse;
}

.consents-table thead {
    background: #1c376d;
    color: #ffffff;
}

.consents-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.consents-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.consents-table tbody tr:hover {
    background: #f8f9fa;
}

.btn-download {
    background: #1c376d !important;
    color: #b5f509 !important;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    display: inline-block;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #b5f509 !important;
    color: #1c376d !important;
    text-decoration: none !important;
}

a.btn-download {
    color: #b5f509 !important;
}

a.btn-download:hover {
    color: #1c376d !important;
}

.dashboard-footer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px 20px;
    margin-top: 20px;
}

.dashboard-footer p {
    margin: 0;
    color: #856404;
}

@media (max-width: 768px) {
    .consent-form-container {
        padding: 20px;
    }
    
    .consent-form-logo img.consent-logo {
        max-width: 200px;
        max-height: 80px;
    }
    
    .consent-form-container h2 {
        font-size: 22px;
    }
    
    .consents-table {
        font-size: 14px;
    }
    
    .consents-table th,
    .consents-table td {
        padding: 10px;
    }
}
