/* Trial Dialog Styles */
.trial-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.trial-dialog {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.trial-dialog-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trial-dialog-header h2 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.trial-dialog-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.trial-dialog-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.trial-dialog-body {
    padding: 28px;
}

.trial-dialog-description {
    font-size: 0.95em;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.5;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95em;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #024B95;
    box-shadow: 0 0 0 3px rgba(2, 75, 149, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.error-message {
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 0.9em;
    color: #d13438;
    line-height: 1.4;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.privacy-notice {
    text-align: center;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.privacy-notice a {
    color: #024B95;
    text-decoration: underline;
}

.privacy-notice a:hover {
    color: #033d7a;
}

.form-group-checkbox {
    margin-bottom: 20px;
}

.form-group-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    font-size: 0.9em;
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form-group-checkbox span {
    line-height: 1.4;
}

.license-key-container {
    margin: 24px 0;
}

.license-key-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.license-key-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.license-key-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #024B95;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #f8f9fa;
    color: var(--text);
    font-weight: 600;
}

.license-key-input:focus {
    outline: none;
    border-color: #024B95;
    box-shadow: 0 0 0 3px rgba(2, 75, 149, 0.1);
}

.license-key-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background-color: #024B95;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    font-family: 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
}

.license-key-copy-btn:hover {
    background-color: #033d7a;
}

.license-key-copy-btn:active {
    transform: translateY(1px);
}

.trial-dialog-note {
    font-size: 0.95em;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.5;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.trial-dialog-support {
    font-size: 0.85em;
    color: #666;
    margin: 16px 0 20px 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.trial-dialog-support a {
    color: #024B95;
    text-decoration: none;
}

.trial-dialog-support a:hover {
    text-decoration: underline;
}

.trial-dialog-button {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Segoe UI', Arial, sans-serif;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.trial-dialog-button:active {
    transform: translateY(1px);
}

.trial-dialog-button-primary {
    background-color: #024B95;
    color: white;
}

.trial-dialog-button-primary:hover:not(:disabled) {
    background-color: #033d7a;
}

.trial-dialog-button-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.trial-dialog-button-error {
    background-color: #d13438;
    color: white;
}

.trial-dialog-button-error:hover {
    background-color: #b02a2e;
}

/* Responsive styles */
@media (max-width: 768px) {
    .trial-dialog {
        max-width: 100%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .trial-dialog-header {
        padding: 20px;
    }
    
    .trial-dialog-body {
        padding: 20px;
    }
    
    .trial-dialog-header h2 {
        font-size: 1.2em;
    }
}
