.tmdetect-container {
    max-width: 800px;
    margin-top: 20px;
}

.tmdetect-header {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tmdetect-header-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.tmdetect-header-content h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    margin-top: 0;
}

.tmdetect-header-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.tmdetect-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.tmdetect-alert-warning {
    background-color: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.tmdetect-alert-error {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.tmdetect-alert strong {
    display: block;
    margin-bottom: 4px;
}

.tmdetect-alert a {
    color: inherit;
    font-weight: 600;
}

.tmdetect-card {
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tmdetect-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.tmdetect-form-group {
    margin-bottom: 20px;
    display: grid;
    gap: 8px;
}

.tmdetect-form-group:last-child {
    margin-bottom: 0;
}

.tmdetect-form-group label {
    display: block;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
}

.tmdetect-form-group input[type="text"],
.tmdetect-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d4d8df;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.tmdetect-form-group input[type="text"]:focus,
.tmdetect-form-group textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}

.tmdetect-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.tmdetect-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.tmdetect-checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.tmdetect-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.tmdetect-stat {
    flex: 1;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 6px;
    border: 1px solid #e2e4e9;
}

.tmdetect-stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tmdetect-stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.tmdetect-stat-value.warning {
    color: #dc3545;
}

.tmdetect-info {
    background: #f0f3f7;
    padding: 16px;
    border-radius: 6px;
    font-size: 13px;
    color: #2c3e50;
    line-height: 1.6;
    margin-top: 20px;
}

.tmdetect-info strong {
    color: #1a1a1a;
}

.tmdetect-cta {
    background: #2271b1;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.tmdetect-cta:hover {
    background-color: #1b5ba0;
    color: white;
}

.tmdetect-disclaimer {
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tmdetect-disclaimer strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.tmdetect-disclaimer p {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.tmdetect-disclaimer-text {
    background: #f5f5f5;
    border: 1px solid #d4d8df;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 12px;
}

.tmdetect-copy-btn {
    background: #2271b1;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tmdetect-copy-btn:hover {
    background-color: #1b5ba0;
}

.tmdetect-copy-btn:active {
    transform: scale(0.98);
}
